File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,14 @@ spec:
143
143
hostIPC : false
144
144
hostNetwork : false
145
145
hostPID : false
146
+ {{ if .Values.deployment.hostNetwork }}
147
+ hostNetwork : true
148
+ dnsPolicy : ClusterFirstWithHostNet
149
+ {{ else }}
150
+ hostNetwork : false
151
+ {{ with .Values.deployment.dnsPolicy }}
152
+ dnsPolicy : {{ . }}
153
+ {{ end }}
146
154
volumes :
147
155
{{- if .Values.aws.credentials.secretName -}}
148
156
- 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