Files
db-operators/postgres/config/poolers/authquery.yaml

26 lines
564 B
YAML

apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: pgbouncer-auth-query
spec:
data:
- remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: cloudnativepg
metadataPolicy: None
property: pgbouncer_pw
secretKey: password
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: weyma-vault
target:
template:
data:
username: pooler
password: "{{ .password }}"
creationPolicy: Owner
deletionPolicy: Retain
name: pgbouncer-auth-query