Files
infrastructure/clusters/cl01tl/helm/garage/templates/external-secret.yaml
Alex Lebens e104eae55e
Some checks failed
lint-test-helm / lint-helm (pull_request) Successful in 9m13s
lint-test-helm / validate-kubeconform (pull_request) Failing after 10m43s
feat: convert many
2026-04-21 20:47:16 -05:00

26 lines
660 B
YAML

apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: garage-token
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: garage-token
{{- include "custom.labels" . | nindent 4 }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: openbao
data:
- secretKey: GARAGE_RPC_SECRET
remoteRef:
key: /cl01tl/garage/config
property: rpc-secret
- secretKey: GARAGE_ADMIN_TOKEN
remoteRef:
key: /cl01tl/garage/config
property: admin-token
- secretKey: GARAGE_METRICS_TOKEN
remoteRef:
key: /cl01tl/garage/config
property: metrics-token