File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 79
79
terminationGracePeriodSeconds: 10
80
80
serviceAccountName: { { .ServiceAccountName } }
81
81
hostIPC: false
82
- hostNetwork: false
83
82
hostPID: false
83
+ hostNetwork: false
Original file line number Diff line number Diff line change @@ -141,8 +141,15 @@ spec:
141
141
priorityClassName : {{ .Values.deployment.priorityClassName }}
142
142
{{ end -}}
143
143
hostIPC : false
144
- hostNetwork : false
145
144
hostPID : false
145
+ {{ if .Values.deployment.hostNetwork }}
146
+ hostNetwork : true
147
+ dnsPolicy : ClusterFirstWithHostNet
148
+ {{ else }}
149
+ hostNetwork : false
150
+ {{ with .Values.deployment.dnsPolicy }}
151
+ dnsPolicy : {{ . }}
152
+ {{ end }}
146
153
volumes :
147
154
{{- if .Values.aws.credentials.secretName -}}
148
155
- name : {{ .Values.aws.credentials.secretName }}
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ 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
32
+ # Which dnsPolicy to set?
33
+ # See: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
34
+ dnsPolicy:
31
35
extraVolumes: []
32
36
extraVolumeMounts: []
33
37
@@ -52,7 +56,7 @@ deployment:
52
56
# If "installScope: cluster" then these labels will be applied to ClusterRole
53
57
role:
54
58
labels: { }
55
-
59
+
56
60
metrics:
57
61
service:
58
62
# Set to true to automatically create a Kubernetes Service resource for the
80
84
# Secret stringData key that contains the credentials
81
85
secretKey: "credentials"
82
86
# Profile used for AWS credentials
83
- profile: "default"
87
+ profile: "default"
84
88
85
89
# log level for the controller
86
90
log:
You can’t perform that action at this time.
0 commit comments