Files
k8scd/authentik/external-secret.yaml
T
2026-03-15 00:27:17 +01:00

48 lines
1.1 KiB
YAML

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: authentik-secrets
spec:
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
refreshInterval: 15m
target:
name: authentik-secrets
creationPolicy: Owner
data:
- secretKey: secret_key
remoteRef:
key: kv/authentik
property: secret_key
- secretKey: bootstrap_password
remoteRef:
key: kv/authentik
property: bootstrap_password
- secretKey: bootstrap_token
remoteRef:
key: kv/authentik
property: bootstrap_token
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: authentik-postgres-credentials
spec:
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
refreshInterval: 15m
target:
name: authentik-postgres-credentials
creationPolicy: Owner
data:
- secretKey: username
remoteRef:
key: kv/authentik
property: postgres_user
- secretKey: password
remoteRef:
key: kv/authentik
property: postgres_password