Files
db-operators/postgres/config/williamp_auth.yaml

26 lines
551 B
YAML

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