mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
22 lines
478 B
YAML
22 lines
478 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: username_password/<SECRET_NAME>
|
||
|
property: username
|
||
|
- secretKey: password
|
||
|
remoteRef:
|
||
|
key: username_password/<SECRET_NAME>
|
||
|
property: password
|