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