From e24ed0b53e61949ad697ba4374c74bc5e0d2ad19 Mon Sep 17 00:00:00 2001 From: Tomasz Pietruszkiewicz Date: Thu, 18 Mar 2021 11:14:06 +0100 Subject: [ONAP] Upgrade crunchy image Set the newest version of crunchy-postgres image. In this image python 2.x was replaced by python 3.x. The crunchy-postgres image is used in few projects in the ONAP, not only in vnfsdk. Change-Id: I1799b6be66312d2418878533775c741b286bec61 Issue-ID: VNFSDK-647 Signed-off-by: Tomasz Pietruszkiewicz --- kubernetes/common/postgres/templates/_deployment.tpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kubernetes/common/postgres') 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 -- cgit 1.2.3-korg