From d87da453bc5efe5d050710b9aec8fd509fe93ba0 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Sun, 31 Jan 2021 16:50:26 +0500 Subject: [PATCH] Update postgres deployment to correctly render namesuffix --- test/nextcloud/1.1.0/templates/postgres-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nextcloud/1.1.0/templates/postgres-deployment.yaml b/test/nextcloud/1.1.0/templates/postgres-deployment.yaml index f7fa2bf549..94aec328c8 100644 --- a/test/nextcloud/1.1.0/templates/postgres-deployment.yaml +++ b/test/nextcloud/1.1.0/templates/postgres-deployment.yaml @@ -1,4 +1,4 @@ -{{ $values := . }} +{{ $values := (. | mustDeepCopy) }} {{ $_ := set $values "common" (dict "nameSuffix" "postgres") }} apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }} kind: Deployment