From 2cd901357a5d92f57a2d910dc302518ba4e6a5ad Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Sun, 10 Mar 2024 17:25:13 +0200 Subject: [PATCH] stupido --- library/common/templates/lib/container/_volumeMounts.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/common/templates/lib/container/_volumeMounts.tpl b/library/common/templates/lib/container/_volumeMounts.tpl index f44e5761..84b3cb6d 100644 --- a/library/common/templates/lib/container/_volumeMounts.tpl +++ b/library/common/templates/lib/container/_volumeMounts.tpl @@ -75,7 +75,7 @@ objectData: The object data to be used to render the container. {{/* Initialize from the default values */}} {{- $volMount := dict -}} - {{- if eq $objectData.podType "StatefulSet" -}} + {{- if eq $persistenceValues.type "vct" -}} {{- $fullname := include "tc.v1.common.lib.chart.names.fullname" $rootCtx -}} {{- $persistenceName = printf "%s-%s" $fullname $persistenceName -}} {{- end -}}