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
84
+ dnsPolicy: ClusterFirst
Original file line number Diff line number Diff line change @@ -141,8 +141,9 @@ spec:
141
141
priorityClassName : {{ .Values.deployment.priorityClassName }}
142
142
{{ end -}}
143
143
hostIPC : false
144
- hostNetwork : false
145
144
hostPID : false
145
+ hostNetwork : {{ .Values.deployment.hostNetwork }}
146
+ dnsPolicy : {{ .Values.deployment.dnsPolicy }}
146
147
volumes :
147
148
{{- if .Values.aws.credentials.secretName -}}
148
149
- name : {{ .Values.aws.credentials.secretName }}
Original file line number Diff line number Diff line change @@ -28,6 +28,15 @@ 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
+ # Specifies the hostname of the Pod.
32
+ # If not specified, the pod's hostname will be set to a system-defined value.
33
+ hostNetwork: false
34
+ # Set DNS policy for the pod.
35
+ # Defaults to "ClusterFirst".
36
+ # Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
37
+ # To have DNS options set along with hostNetwork, you have to specify DNS policy
38
+ # explicitly to 'ClusterFirstWithHostNet'.
39
+ dnsPolicy: ClusterFirst
31
40
extraVolumes: []
32
41
extraVolumeMounts: []
33
42
@@ -52,7 +61,7 @@ deployment:
52
61
# If "installScope: cluster" then these labels will be applied to ClusterRole
53
62
role:
54
63
labels: { }
55
-
64
+
56
65
metrics:
57
66
service:
58
67
# Set to true to automatically create a Kubernetes Service resource for the
80
89
# Secret stringData key that contains the credentials
81
90
secretKey: "credentials"
82
91
# Profile used for AWS credentials
83
- profile: "default"
92
+ profile: "default"
84
93
85
94
# log level for the controller
86
95
log:
You can’t perform that action at this time.
0 commit comments