summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/postgres/templates/_deployment.tpl
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-03-25 06:22:50 +0000
committerGerrit Code Review <gerrit@onap.org>2021-03-25 06:22:50 +0000
commitb8be171914389631c6f0c41929119436a9d1b681 (patch)
treeb10970af30d92721508b3f434495076c936b0913 /kubernetes/common/postgres/templates/_deployment.tpl
parent777447ccdbabfaf2448e0dc812f0d755c889600e (diff)
parente24ed0b53e61949ad697ba4374c74bc5e0d2ad19 (diff)
Merge "[ONAP] Upgrade crunchy image"
Diffstat (limited to 'kubernetes/common/postgres/templates/_deployment.tpl')
-rw-r--r--kubernetes/common/postgres/templates/_deployment.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/common/postgres/templates/_deployment.tpl b/kubernetes/common/postgres/templates/_deployment.tpl
index 38a7ce1f63..7d04501f24 100644
--- a/kubernetes/common/postgres/templates/_deployment.tpl
+++ b/kubernetes/common/postgres/templates/_deployment.tpl
@@ -58,6 +58,8 @@ spec:
env:
- name: PG_PRIMARY_USER
value: primaryuser
+ - name: MODE
+ value: postgres
- name: PG_PRIMARY_PASSWORD_INPUT
{{- include "common.secret.envFromSecretFast" (dict "global" $dot "uid" (include "common.postgres.secret.primaryPasswordUID" .) "key" "password") | indent 10 }}
- name: PG_USER
@@ -117,6 +119,8 @@ spec:
value: /tmp
- name: PG_PRIMARY_USER
value: primaryuser
+ - name: MODE
+ value: postgres
- name: PG_MODE
value: {{ $pgMode }}
- name: PG_PRIMARY_HOST