From e2da5610bda70ecad8670ad70baa67bd8c425111 Mon Sep 17 00:00:00 2001 From: "v.oleynikov" Date: Tue, 23 Apr 2024 10:08:00 +0300 Subject: [PATCH] fix Signed-off-by: v.oleynikov --- templates/csi/controller.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/csi/controller.yaml b/templates/csi/controller.yaml index 05d4b3e..739c47e 100644 --- a/templates/csi/controller.yaml +++ b/templates/csi/controller.yaml @@ -23,14 +23,14 @@ {{- include "helm_lib_envs_for_proxy" . }} {{- end }} -{{- define "additionalControllerVolumes" }} +{{- define "csi_additional_controller_volume" }} - hostPath: path: /tmp type: Directory name: tmp {{- end }} -{{- define "$additionalControllerVolumeMounts" }} +{{- define "csi_additional_controller_volume_mounts" }} - mountPath: /tmp name: tmp {{- end }} @@ -45,6 +45,8 @@ {{- $_ := set $csiControllerConfig "livenessProbePort" 29652 }} {{- $_ := set $csiControllerConfig "additionalControllerArgs" (include "csi_controller_args" . | fromYamlArray) }} {{- $_ := set $csiControllerConfig "additionalControllerEnvs" (include "csi_controller_envs" . | fromYamlArray) }} +{{- $_ := set $csiControllerConfig "additionalControllerVolume" (include "csi_additional_controller_volume" . | fromYamlArray) }} +{{- $_ := set $csiControllerConfig "additionalControllerVolumeMounts" (include "csi_additional_controller_volume_mounts" . | fromYamlArray) }} {{- include "helm_lib_csi_controller_manifests" (list . $csiControllerConfig) }}