Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: v.oleynikov <[email protected]>
  • Loading branch information
duckhawk committed Apr 23, 2024
1 parent 74324d4 commit e2da561
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/csi/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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) }}

Expand Down

0 comments on commit e2da561

Please sign in to comment.