From aeb8deb43bdb22f162959eed20bbafa7071807fe Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Thu, 23 Feb 2023 22:29:10 +0100 Subject: [PATCH] hmm --- library/common/templates/lib/dependencies/_dbWait.tpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/library/common/templates/lib/dependencies/_dbWait.tpl b/library/common/templates/lib/dependencies/_dbWait.tpl index 90d72b5b..16fb1626 100644 --- a/library/common/templates/lib/dependencies/_dbWait.tpl +++ b/library/common/templates/lib/dependencies/_dbWait.tpl @@ -59,9 +59,7 @@ {{- $container := include "tc.v1.common.lib.deps.wait.cnpg" $ | fromYaml -}} {{- if $container -}} {{- range $.Values.workload -}} - {{- if and .enabled .podSpec }} - {{- $_ := set .podSpec.initContainers "cnpg-wait" $container -}} - {{- end }} + {{- $_ := set .podSpec.initContainers "cnpg-wait" $container -}} {{- end }} {{- end -}} {{- end }}