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 Nov 18, 2024
1 parent 6df7125 commit 838f5c1
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions templates/csi/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,19 @@
- name: wait-rpc-bind-init-container
command:
- "/wait-rpcbind"
imagePullPolicy: IfNotPresent
image: {{ include "helm_lib_module_image" (list . "waitRpcbind") }}
volumeMounts:
- name: run
mountPath: /run
- name: wait-rpc-bind-init
command:
- "/wait-rpcbind"
image: {{ include "helm_lib_module_image" (list . "waitRpcbind") }}
imagePullPolicy: IfNotPresent
volumeMounts:
- name: run
mountPath: /run
{{- end }}

###
Expand Down Expand Up @@ -47,9 +55,6 @@
emptyDir: {}

{{- if .Values.csiNfs.v3support }}
- name: run-rpcbind-sock
hostPath:
path: /run/rpcbind.sock
- name: run
hostPath:
path: /run
Expand All @@ -65,8 +70,9 @@
name: tmp-dir

{{- if .Values.csiNfs.v3support }}
- name: run-rpcbind-sock
mountPath: /run/rpcbind.sock
- name: run
hostPath:
path: /run
{{- end }}

{{- end }}
Expand Down

0 comments on commit 838f5c1

Please sign in to comment.