Skip to content

Commit 8a156e5

Browse files
authored
[cinder-csi-plugin] added dnsPolicy value for nodeplugin (kubernetes#2483)
* charts/cinder-csi-plugin: added dnsPolicy value for nodeplugin * bump chart version * use ClusterFirstWithHostNet as the default DNS policy
1 parent 71ce822 commit 8a156e5

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

charts/cinder-csi-plugin/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: v1.28.0
33
description: Cinder CSI Chart for OpenStack
44
name: openstack-cinder-csi
5-
version: 2.29.0-alpha.2
5+
version: 2.29.0-alpha.3
66
home: https://github.com/kubernetes/cloud-provider-openstack
77
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
88
maintainers:

charts/cinder-csi-plugin/templates/nodeplugin-daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
spec:
2525
serviceAccount: csi-cinder-node-sa
2626
hostNetwork: true
27+
dnsPolicy: {{ .Values.csi.plugin.nodePlugin.dnsPolicy }}
2728
containers:
2829
- name: node-driver-registrar
2930
securityContext:

charts/cinder-csi-plugin/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ csi:
6969
mountPath: /etc/kubernetes
7070
readOnly: true
7171
nodePlugin:
72+
dnsPolicy: ClusterFirstWithHostNet
7273
podSecurityContext: {}
7374
securityContext: {}
7475
# capabilities:

0 commit comments

Comments
 (0)