add dnsPolicy: ClusterFirstWithHostNet to DaemonSets with hostNetwork: true value to avoid DNSConfigFormat events (#10618)

This commit is contained in:
Alexander
2023-12-05 02:52:17 +01:00
committed by GitHub
parent a1c47b1b20
commit c440106eff
3 changed files with 3 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ spec:
spec:
serviceAccountName: csi-cinder-node-sa
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: node-driver-registrar
image: {{ csi_node_driver_registrar_image_repo }}:{{ csi_node_driver_registrar_image_tag }}