This commit is contained in:
2023-07-16 18:56:07 -05:00
parent d92db642f1
commit 4c4cc71aa5
3 changed files with 369 additions and 22 deletions

View File

@@ -45,3 +45,37 @@ spec:
kubernetes:
mountPath: "kubernetes"
role: "external-secrets"
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: kong-config-secret
spec:
secretStoreRef:
name: vault-kong
kind: SecretStore
target:
name: kong-config-secret
data:
- secretKey: admin_gui_session_conf
remoteRef:
key: secrets/kong/config
property: admin_gui_session_conf
- secretKey: kong_admin_password
remoteRef:
key: secrets/kong/config
property: kong_admin_password
- secretKey: password
remoteRef:
key: secrets/kong/config
property: password
- secretKey: pg_host
remoteRef:
key: secrets/kong/config
property: pg_host
- secretKey: portal_session_conf
remoteRef:
key: secrets/kong/config
property: portal_session_conf