mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-07 01:28:42 +07:00
27 lines
599 B
YAML
27 lines
599 B
YAML
![]() |
apiVersion: external-secrets.io/v1beta1
|
||
|
kind: ExternalSecret
|
||
|
metadata:
|
||
|
name: dex-secrets
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
spec:
|
||
|
secretStoreRef:
|
||
|
kind: ClusterSecretStore
|
||
|
name: vault
|
||
|
target:
|
||
|
name: dex-secrets
|
||
|
data:
|
||
|
# Connectors
|
||
|
- secretKey: GITEA_CLIENT_ID
|
||
|
remoteRef:
|
||
|
key: /gitea/dex
|
||
|
property: client_id
|
||
|
- secretKey: GITEA_CLIENT_SECRET
|
||
|
remoteRef:
|
||
|
key: /gitea/dex
|
||
|
property: client_secret
|
||
|
# Clients
|
||
|
- secretKey: GRAFANA_SSO_CLIENT_SECRET
|
||
|
remoteRef:
|
||
|
key: /dex/grafana
|
||
|
property: client_secret
|