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 key: secrets/kong/tls
property: key property: key
--- #---
#
apiVersion: external-secrets.io/v1beta1 #apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret #kind: ExternalSecret
metadata: #metadata:
name: kong-config-secret # name: kong-config-secret
spec: #spec:
secretStoreRef: # secretStoreRef:
name: vault-kong # name: vault-kong
kind: SecretStore # kind: SecretStore
target: # target:
name: kong-config-secret # name: kong-config-secret
data: # data:
- secretKey: admin_gui_session_conf # - secretKey: admin_gui_session_conf
remoteRef: # remoteRef:
key: secrets/kong/config # key: secrets/kong/config
property: admin_gui_session_conf # property: admin_gui_session_conf
- secretKey: kong_admin_password # - secretKey: kong_admin_password
remoteRef: # remoteRef:
key: secrets/kong/config # key: secrets/kong/config
property: kong_admin_password # property: kong_admin_password
- secretKey: password # - secretKey: password
remoteRef: # remoteRef:
key: secrets/kong/postgres # key: secrets/kong/postgres
property: password # property: password
- secretKey: pg_host # - secretKey: pg_host
remoteRef: # remoteRef:
key: secrets/kong/config # key: secrets/kong/config
property: pg_host # property: pg_host
- secretKey: portal_session_conf # - secretKey: portal_session_conf
remoteRef: # remoteRef:
key: secrets/kong/config # key: secrets/kong/config
property: portal_session_conf # property: portal_session_conf
#
--- ---
apiVersion: external-secrets.io/v1beta1 apiVersion: external-secrets.io/v1beta1
@@ -108,4 +108,4 @@ spec:
- secretKey: password - secretKey: password
remoteRef: remoteRef:
key: secrets/kong/postgres key: secrets/kong/postgres
property: password property: password