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 50
50
imagePullSecrets :
51
51
{{- toYaml . | nindent 8 }}
52
52
{{- end }}
53
+ {{- if .Values.devicePlugin.enableHostNetwork }}
54
+ hostNetwork : true
55
+ dnsPolicy : ClusterFirstWithHostNet
56
+ {{- end }}
53
57
securityContext :
54
58
{{- toYaml .Values.podSecurityContext | nindent 8 }}
55
59
{{- if $useServiceAccount }}
Original file line number Diff line number Diff line change 50
50
imagePullSecrets :
51
51
{{- toYaml . | nindent 8 }}
52
52
{{- end }}
53
+ {{- if .Values.gfd.enableHostNetwork }}
54
+ hostNetwork : true
55
+ dnsPolicy : ClusterFirstWithHostNet
56
+ {{- end }}
53
57
securityContext :
54
58
{{- toYaml .Values.podSecurityContext | nindent 8 }}
55
59
{{- if $useServiceAccount }}
Original file line number Diff line number Diff line change 48
48
imagePullSecrets :
49
49
{{- toYaml . | nindent 8 }}
50
50
{{- end }}
51
+ {{- if .Values.mps.enableHostNetwork }}
52
+ hostNetwork : true
53
+ dnsPolicy : ClusterFirstWithHostNet
54
+ {{- end }}
51
55
securityContext :
52
56
{{- toYaml .Values.podSecurityContext | nindent 8 }}
53
57
{{- if $options.hasConfigMap }}
You can’t perform that action at this time.
0 commit comments