mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-24 18:06:16 +07:00
31 lines
718 B
YAML
31 lines
718 B
YAML
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: dex-secrets
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
secretStoreRef:
|
|
kind: ClusterSecretStore
|
|
name: global-secrets
|
|
target:
|
|
name: dex-secrets
|
|
data:
|
|
# Connectors
|
|
- secretKey: KANIDM_CLIENT_ID
|
|
remoteRef:
|
|
key: kanidm.dex
|
|
property: client_id
|
|
- secretKey: KANIDM_CLIENT_SECRET
|
|
remoteRef:
|
|
key: kanidm.dex
|
|
property: client_secret
|
|
# Clients
|
|
- secretKey: GRAFANA_SSO_CLIENT_SECRET
|
|
remoteRef:
|
|
key: dex.grafana
|
|
property: client_secret
|
|
- secretKey: GITEA_CLIENT_SECRET
|
|
remoteRef:
|
|
key: dex.gitea
|
|
property: client_secret
|