File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -131,8 +131,13 @@ spec:
131
131
priorityClassName : {{ .Values.deployment.priorityClassName }}
132
132
{{ end -}}
133
133
hostIPC : false
134
- hostNetwork : false
135
134
hostPID : false
135
+ {{ if .Values.hostNetwork }}
136
+ hostNetwork : true
137
+ dnsPolicy : ClusterFirstWithHostNet
138
+ {{ else }}
139
+ hostNetwork : false
140
+ {{ end }}
136
141
{{ if .Values.aws.credentials.secretName -}}
137
142
volumes :
138
143
- name : {{ .Values.aws.credentials.secretName }}
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ deployment:
28
28
# Which priorityClassName to set?
29
29
# See: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority
30
30
priorityClassName : " "
31
+ hostNetwork : false
31
32
32
33
# If "installScope: cluster" then these labels will be applied to ClusterRole
33
34
role :
You can’t perform that action at this time.
0 commit comments