Skip to content

Commit 6738a18

Browse files
authored
add support for overriding the dnsPolicy of the controller pod (#540)
1 parent b535964 commit 6738a18

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

helm-chart/csi-driver/templates/csi-linode-controller.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
{{- end }}
2727
spec:
2828
hostNetwork: {{ .Values.controller.hostNetwork }}
29+
dnsPolicy: {{ .Values.controller.dnsPolicy }}
2930
securityContext:
3031
seccompProfile:
3132
type: RuntimeDefault

helm-chart/csi-driver/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ csiNodeDriverRegistrar:
9898
controller:
9999
enabled: true
100100
hostNetwork: false
101+
dnsPolicy: Default
101102
kubeconfig:
102103
mountDir: ""
103104
secretName: ""

0 commit comments

Comments
 (0)