This commit is contained in:
Simen Røstvik 2022-12-15 15:44:32 +01:00
parent 505e43f23c
commit fe0257a3ab
2 changed files with 22 additions and 0 deletions

View File

@ -30,3 +30,20 @@ spec:
remoteRef: remoteRef:
key: authentik/authentik key: authentik/authentik
property: secret_key property: secret_key
---
apiVersion: external-secrets.io/v1alpha1
kind: ExternalSecret
metadata:
name: ext-authentik-psql
namespace: authentik
spec:
secretStoreRef:
name: ext-authentik-backend
kind: SecretStore
target:
name: postgres-secret
data:
- secretKey: password
remoteRef:
key: authentik/postgres
property: password

View File

@ -46,6 +46,11 @@ spec:
key: AUTHENTIK_SECRET_KEY key: AUTHENTIK_SECRET_KEY
name: authentik-secret name: authentik-secret
AUTHENTIK_POSTGRESQL__PASSWORD:
secretKeyRef:
key: password
name: postgres-secret
postgresql: postgresql:
image: image:
registry: ghcr.io registry: ghcr.io