File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
deployments/helm/nvidia-device-plugin/templates Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 5050 imagePullSecrets :
5151 {{- toYaml . | nindent 8 }}
5252 {{- end }}
53+ {{- if .Values.devicePlugin.enableHostNetwork }}
54+ hostNetwork : true
55+ dnsPolicy : ClusterFirstWithHostNet
56+ {{- end }}
5357 securityContext :
5458 {{- toYaml .Values.podSecurityContext | nindent 8 }}
5559 {{- if $useServiceAccount }}
Original file line number Diff line number Diff line change 5050 imagePullSecrets :
5151 {{- toYaml . | nindent 8 }}
5252 {{- end }}
53+ {{- if .Values.gfd.enableHostNetwork }}
54+ hostNetwork : true
55+ dnsPolicy : ClusterFirstWithHostNet
56+ {{- end }}
5357 securityContext :
5458 {{- toYaml .Values.podSecurityContext | nindent 8 }}
5559 {{- if $useServiceAccount }}
Original file line number Diff line number Diff line change 4848 imagePullSecrets :
4949 {{- toYaml . | nindent 8 }}
5050 {{- end }}
51+ {{- if .Values.mps.enableHostNetwork }}
52+ hostNetwork : true
53+ dnsPolicy : ClusterFirstWithHostNet
54+ {{- end }}
5155 securityContext :
5256 {{- toYaml .Values.podSecurityContext | nindent 8 }}
5357 {{- if $options.hasConfigMap }}
You can’t perform that action at this time.
0 commit comments