Skip to content

Commit

Permalink
fix(CSI-241): make controllerServer also use hostNetwork for NFS
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyberezansky committed Sep 11, 2024
1 parent f1b37a6 commit 26b47a2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ spec:
nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8}}
{{- end }}
serviceAccountName: {{ .Release.Name }}-controller
{{- if .Values.hostNetwork }}
hostNetwork: {{ .Values.hostNetwork }}
{{- if or .Values.hostNetwork .Values.pluginConfig.mountProtocol.useNfs .Values.pluginConfig.mountProtocol.allowNfsFailback}}
hostNetwork: true
{{- end }}
containers:
- name: csi-attacher
Expand Down

0 comments on commit 26b47a2

Please sign in to comment.