Files
infrastructure/clusters/cl01tl/helm/garage/templates/external-secret.yaml
Alex Lebens 34136ab30f
Some checks failed
lint-test-helm / lint-helm (pull_request) Successful in 17s
lint-test-helm / validate-kubeconform (pull_request) Failing after 1m5s
feat: refactor apps
2026-03-26 20:02:32 -05:00

27 lines
703 B
YAML

apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: garage-token-secret
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: garage-token-secret
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: vault
data:
- secretKey: GARAGE_RPC_SECRET
remoteRef:
key: /cl01tl/garage/token
property: rpc
- secretKey: GARAGE_ADMIN_TOKEN
remoteRef:
key: /cl01tl/garage/token
property: admin
- secretKey: GARAGE_METRICS_TOKEN
remoteRef:
key: /cl01tl/garage/token
property: metric