Skip to content

Commit 8d95859

Browse files
authored
Merge pull request #131 from andyzhangx/restart-broken
fix: cifs mount broken after driver restart
2 parents 35a66d9 + a65d20b commit 8d95859

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/latest/csi-driver-smb/templates/csi-smb-node.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ spec:
1414
{{ include "smb.labels" . | indent 6 }}
1515
app: csi-smb-node
1616
spec:
17+
hostNetwork: true
18+
dnsPolicy: ClusterFirstWithHostNet
1719
nodeSelector:
1820
kubernetes.io/os: linux
1921
priorityClassName: system-node-critical

deploy/csi-smb-node.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ spec:
1313
labels:
1414
app: csi-smb-node
1515
spec:
16+
hostNetwork: true
17+
dnsPolicy: ClusterFirstWithHostNet
1618
nodeSelector:
1719
kubernetes.io/os: linux
1820
priorityClassName: system-node-critical

0 commit comments

Comments
 (0)