khuedoan-homelab/platform/grafana/templates/secret.yaml

21 lines
482 B
YAML
Raw Normal View History

2022-05-14 11:29:57 +07:00
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: grafana-secrets
namespace: {{ .Release.Namespace }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: global-secrets
2022-05-14 11:29:57 +07:00
target:
name: grafana-secrets
data:
- secretKey: GRAFANA_SSO_CLIENT_SECRET
remoteRef:
key: dex.grafana
2022-05-14 11:29:57 +07:00
property: client_secret
2024-01-21 16:14:37 +07:00
- secretKey: NTFY_RELAY_PASSWORD
remoteRef:
key: ntfy-relay.auth
property: password