This commit is contained in:
2023-07-16 12:47:47 -05:00
parent 3fa886a7ef
commit fd6d23fdd5

View File

@@ -29,40 +29,40 @@ spec:
key: secrets/kong/tls
property: key
---
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/postgres
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
#---
#
#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/postgres
# 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
#
---
apiVersion: external-secrets.io/v1beta1
@@ -108,4 +108,4 @@ spec:
- secretKey: password
remoteRef:
key: secrets/kong/postgres
property: password
property: password