mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-07 16:00:29 -05:00
Update file secrets.yaml
This commit is contained in:
parent
2dbe181064
commit
8009179cc6
1 changed files with 29 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ spec:
|
|||
property: kong_admin_password
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: secrets/kong/config
|
||||
key: secrets/kong/postgres
|
||||
property: password
|
||||
- secretKey: pg_host
|
||||
remoteRef:
|
||||
|
|
@ -78,4 +78,31 @@ spec:
|
|||
auth:
|
||||
kubernetes:
|
||||
mountPath: "kubernetes"
|
||||
role: "external-secrets"
|
||||
role: "external-secrets"
|
||||
|
||||
---
|
||||
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: kong-postgresql
|
||||
type: Opaque
|
||||
data:
|
||||
secretStoreRef:
|
||||
name: vault-kong
|
||||
kind: SecretStore
|
||||
target:
|
||||
name: kong-postgresql
|
||||
data:
|
||||
- secretKey: postgres-username
|
||||
remoteRef:
|
||||
key: secrets/kong/postgres
|
||||
property: username
|
||||
- secretKey: postgres-password
|
||||
remoteRef:
|
||||
key: secrets/kong/postgres
|
||||
property: password
|
||||
- secretKey: postgres-username
|
||||
remoteRef:
|
||||
key: secrets/kong/database
|
||||
property: database
|
||||
Loading…
Add table
Add a link
Reference in a new issue