mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
cnpg with authentik
This commit is contained in:
@@ -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