21 lines
428 B
YAML
21 lines
428 B
YAML
|
apiVersion: external-secrets.io/v1beta1
|
||
|
kind: ExternalSecret
|
||
|
metadata:
|
||
|
name: postgres-credentials
|
||
|
spec:
|
||
|
secretStoreRef:
|
||
|
name: aws-parameters-store
|
||
|
kind: ClusterSecretStore
|
||
|
target:
|
||
|
name: postgres-credentials
|
||
|
data:
|
||
|
- secretKey: database
|
||
|
remoteRef:
|
||
|
key: changeme
|
||
|
- secretKey: username
|
||
|
remoteRef:
|
||
|
key: changeme
|
||
|
- secretKey: password
|
||
|
remoteRef:
|
||
|
key: changeme
|