2022-03-09 09:48:25 +00:00
|
|
|
apiVersion: external-secrets.io/v1beta1
|
2021-07-01 14:13:53 +00:00
|
|
|
kind: ExternalSecret
|
|
|
|
metadata:
|
2022-11-30 19:06:59 +00:00
|
|
|
name: database-credentials
|
2021-07-01 14:13:53 +00:00
|
|
|
spec:
|
2022-03-10 18:32:28 +00:00
|
|
|
refreshInterval: 60m
|
2021-07-01 14:13:53 +00:00
|
|
|
secretStoreRef:
|
2022-11-30 19:06:59 +00:00
|
|
|
name: ibm-store
|
2021-07-01 14:13:53 +00:00
|
|
|
kind: SecretStore
|
|
|
|
target:
|
2022-11-30 19:06:59 +00:00
|
|
|
name: database-credentials
|
2021-07-01 14:13:53 +00:00
|
|
|
creationPolicy: Owner
|
|
|
|
data:
|
2022-11-30 19:06:59 +00:00
|
|
|
- secretKey: username
|
2021-07-01 14:13:53 +00:00
|
|
|
remoteRef:
|
2022-11-30 19:06:59 +00:00
|
|
|
key: database_user
|
|
|
|
- secretKey: password
|
|
|
|
remoteRef:
|
|
|
|
key: database_password
|