From c8d319835d3acafa3103871ad8f39c5ba940668e Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Tue, 28 Feb 2023 10:52:56 +0100 Subject: [PATCH] release namespace fix --- library/common/templates/spawner/_cnpg.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/common/templates/spawner/_cnpg.tpl b/library/common/templates/spawner/_cnpg.tpl index e7e6a1b4..f939b8d5 100644 --- a/library/common/templates/spawner/_cnpg.tpl +++ b/library/common/templates/spawner/_cnpg.tpl @@ -28,8 +28,8 @@ {{- $basename := include "tc.v1.common.lib.chart.names.fullname" $ -}} {{- $fetchname := printf "%s-dbcreds" $basename -}} - {{- $olddbprevious1 := lookup "v1" "Secret" .Release.Namespace $fetchname }} - {{- $olddbprevious2 := lookup "v1" "Secret" .Release.Namespace "dbcreds" }} + {{- $olddbprevious1 := lookup "v1" "Secret" $.Release.Namespace $fetchname }} + {{- $olddbprevious2 := lookup "v1" "Secret" $.Release.Namespace "dbcreds" }} {{/* Inject the required secrets */}}