From b8ce7c74e9ebad5ea0136ffd6d934452311f9fde Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Sun, 10 Mar 2024 00:13:02 +0200 Subject: [PATCH] fix cluster walStorage bug --- library/common/templates/class/cnpg/_cluster.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/common/templates/class/cnpg/_cluster.tpl b/library/common/templates/class/cnpg/_cluster.tpl index 24426528..2c54cbb7 100644 --- a/library/common/templates/class/cnpg/_cluster.tpl +++ b/library/common/templates/class/cnpg/_cluster.tpl @@ -189,7 +189,7 @@ spec: walStorage: pvcTemplate: {{- $_ := set $objectData.cluster.walStorage "size" $walSize -}} - {{- $_ := set $objectData.cluster.storage "accessModes" $walAccessModes -}} + {{- $_ := set $objectData.cluster.walStorage "accessModes" $walAccessModes -}} {{- include "tc.v1.common.lib.storage.pvc.spec" (dict "rootCtx" $rootCtx "objectData" $objectData.cluster.walStorage) | trim | nindent 6 }} {{- if $enableMonitoring }}