mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 14:29:09 +01:00
cnpg with authentik
This commit is contained in:
1 parent
09f019264f
commit
4d551d43b0
3 files changed
+46
-11
No files matched your search
@@ -23,7 +23,25 @@ spec:
|
||||
remoteRef:
|
||||
key: kv/authentik
|
||||
property: bootstrap_token
|
||||
- secretKey: postgres_password
|
||||
---
|
||||
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
|
||||
Reference in new issue
Block a user