infrastructure/flux/olympus/apps/services/oauth2-proxy/external-secret.yaml
Victor 6da9551d66
Some checks failed
Lint / lint (push) Failing after 1m3s
Plex Update / update (push) Successful in 1m41s
add oauth2-proxy
2023-11-07 15:58:47 +01:00

25 lines
624 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: oauth2-proxy
namespace: services
spec:
refreshInterval: "5m"
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: oauth2-proxy
data:
- secretKey: OAUTH2_PROXY_CLIENT_ID
remoteRef:
key: services/oauth2-proxy
property: client_id
- secretKey: OAUTH2_PROXY_CLIENT_SECRET
remoteRef:
key: services/oauth2-proxy
property: client_secret
- secretKey: OAUTH2_PROXY_COOKIE_SECRET
remoteRef:
key: services/oauth2-proxy
property: cookie_secret