mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-15 17:51:01 +00:00
21 lines
518 B
YAML
21 lines
518 B
YAML
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: database-credentials
|
|
spec:
|
|
refreshInterval: 60m
|
|
secretStoreRef:
|
|
name: ibm-store
|
|
kind: SecretStore
|
|
target:
|
|
name: database-credentials
|
|
creationPolicy: Owner
|
|
data:
|
|
- secretKey: username
|
|
remoteRef:
|
|
key: <SECRET_GROUP_NAME>/username_password/<SECRET_NAME>
|
|
property: username
|
|
- secretKey: password
|
|
remoteRef:
|
|
key: <SECRET_GROUP_NAME>/username_password/<SECRET_NAME>
|
|
property: password
|