fix(piped): ES templating

This commit is contained in:
JJGadgets
2023-12-25 07:12:29 +08:00
parent 9d9306561c
commit a0eb74dc65

View File

@@ -68,15 +68,15 @@ spec:
template:
type: "Opaque"
data:
DB_HOSTNAME: "{{ .pgbouncer-host }}"
DB_HOSTNAME: "{{ .host }}"
DB_DATABASE_NAME: "{{ .dbname }}"
DB_USERNAME: "{{ .user }}"
DB_PASSWORD: "{{ .password }}"
data:
- secretKey: &key "pgbouncer-host"
- secretKey: "host"
remoteRef: &src
key: *name
property: *key
property: "pgbouncer-host"
- secretKey: &key "dbname"
remoteRef:
<<: *src