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) }}