From 013bb347875014aac5249ce834febb596e877054 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Tue, 6 Oct 2020 03:06:50 +0000 Subject: [PATCH] fix: use dnsPolicy ClusterFirstWithHostNet for hostNetwork --- charts/latest/blob-csi-driver/templates/csi-blob-node.yaml | 1 + deploy/csi-blob-node.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/latest/blob-csi-driver/templates/csi-blob-node.yaml b/charts/latest/blob-csi-driver/templates/csi-blob-node.yaml index 968fe0dee..9caac2a36 100644 --- a/charts/latest/blob-csi-driver/templates/csi-blob-node.yaml +++ b/charts/latest/blob-csi-driver/templates/csi-blob-node.yaml @@ -14,6 +14,7 @@ spec: app: csi-blob-node spec: hostNetwork: true + dnsPolicy: ClusterFirstWithHostNet serviceAccountName: csi-blob-node-sa nodeSelector: kubernetes.io/os: linux diff --git a/deploy/csi-blob-node.yaml b/deploy/csi-blob-node.yaml index 1927cf23e..ba3431dbf 100644 --- a/deploy/csi-blob-node.yaml +++ b/deploy/csi-blob-node.yaml @@ -14,6 +14,7 @@ spec: app: csi-blob-node spec: hostNetwork: true + dnsPolicy: ClusterFirstWithHostNet serviceAccountName: csi-blob-node-sa nodeSelector: kubernetes.io/os: linux