1
0
Fork 0
home-stack-kustomize/kustomize/bases/postgres/postgres-externalsecret.yaml

26 lines
554 B
YAML
Raw Normal View History

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: postgres-credentials
spec:
secretStoreRef:
name: aws-parameters-store
kind: ClusterSecretStore
target:
name: postgres-credentials
template:
metadata:
labels:
app.kubernetes.io/managed-by: external-secret
annotations: {}
data:
- secretKey: database
remoteRef:
key: changeme
- secretKey: username
remoteRef:
key: changeme
- secretKey: password
remoteRef:
key: changeme