File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
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 58
58
},
59
59
"priorityClassName" : {
60
60
"type" : " string"
61
+ },
62
+ "hostNetwork" : {
63
+ "type" : " boolean"
61
64
}
62
65
},
63
66
"required" : [
198
201
},
199
202
"watchNamespace" : {
200
203
"type" : " string"
201
- },
204
+ },
202
205
"resourceTags" : {
203
206
"type" : " array" ,
204
207
"items" : {
Original file line number Diff line number Diff line change @@ -28,11 +28,12 @@ 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 :
34
35
labels : {}
35
-
36
+
36
37
metrics :
37
38
service :
38
39
# Set to true to automatically create a Kubernetes Service resource for the
60
61
# Secret stringData key that contains the credentials
61
62
secretKey : " credentials"
62
63
# Profile used for AWS credentials
63
- profile : " default"
64
+ profile : " default"
64
65
65
66
# log level for the controller
66
67
log :
You can’t perform that action at this time.
0 commit comments