From 471783ce7271debea6c43017db9feb12735b5401 Mon Sep 17 00:00:00 2001 From: "v.oleynikov" Date: Mon, 2 Mar 2026 11:20:58 +0300 Subject: [PATCH 1/2] Add enable capacity option Signed-off-by: v.oleynikov --- charts/helm_lib/templates/_csi_controller.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/helm_lib/templates/_csi_controller.tpl b/charts/helm_lib/templates/_csi_controller.tpl index da0de1b..ca791f0 100644 --- a/charts/helm_lib/templates/_csi_controller.tpl +++ b/charts/helm_lib/templates/_csi_controller.tpl @@ -84,6 +84,7 @@ memory: 50Mi {{- $resizerEnabled := dig "resizerEnabled" true $config }} {{- $syncerEnabled := dig "syncerEnabled" false $config }} {{- $topologyEnabled := dig "topologyEnabled" true $config }} + {{- $capacityEnabled := dig "capacityEnabled" true $config }} {{- $runAsRootUser := dig "runAsRootUser" false $config }} {{- $extraCreateMetadataEnabled := dig "extraCreateMetadataEnabled" false $config }} {{- $controllerImage := $config.controllerImage | required "$config.controllerImage is required" }} @@ -301,8 +302,10 @@ spec: - "--leader-election-lease-duration=30s" - "--leader-election-renew-deadline=20s" - "--leader-election-retry-period=5s" + {{- if $capacityEnabled }} - "--enable-capacity" - "--capacity-ownerref-level=2" + {{- end }} {{- if $extraCreateMetadataEnabled }} - "--extra-create-metadata=true" {{- end }} From d64b63a9b1abcaf5571c3bba3baeb2f4c57b2513 Mon Sep 17 00:00:00 2001 From: "v.oleynikov" Date: Mon, 2 Mar 2026 11:21:51 +0300 Subject: [PATCH 2/2] Add enable capacity option Signed-off-by: v.oleynikov --- charts/helm_lib/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/helm_lib/Chart.yaml b/charts/helm_lib/Chart.yaml index 9d1d531..8e94434 100644 --- a/charts/helm_lib/Chart.yaml +++ b/charts/helm_lib/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 type: library name: deckhouse_lib_helm -version: 1.70.2 +version: 1.70.3 description: "Helm utils template definitions for Deckhouse modules."