Skip to content

Commit e28f5ce

Browse files
authored
Merge pull request #2576 from k8s-infra-cherrypick-robot/cherry-pick-2575-to-release-1.33
[release-1.33] fix: can't install aznfs on azurelinux
2 parents 46bd020 + 3e91f82 commit e28f5ce

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

deploy/csi-azurefile-node.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ spec:
5252
env:
5353
- name: DEBIAN_FRONTEND
5454
value: "noninteractive"
55+
- name: AZNFS_NONINTERACTIVE_INSTALL
56+
value: "1"
5557
- name: INSTALL_AZUREFILE_PROXY
5658
value: "true"
5759
- name: INSTALL_AZNFS_MOUNT
@@ -114,6 +116,7 @@ spec:
114116
args:
115117
- "--v=5"
116118
- "--endpoint=$(CSI_ENDPOINT)"
119+
- "--enable-azurefile-proxy=true"
117120
- "--azurefile-proxy-endpoint=$(AZUREFILE_PROXY_ENDPOINT)"
118121
- "--nodeid=$(KUBE_NODE_NAME)"
119122
- "--metrics-address=0.0.0.0:29615"

deploy/v1.33.0/csi-azurefile-node.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ spec:
5252
env:
5353
- name: DEBIAN_FRONTEND
5454
value: "noninteractive"
55+
- name: AZNFS_NONINTERACTIVE_INSTALL
56+
value: "1"
5557
- name: INSTALL_AZUREFILE_PROXY
5658
value: "true"
5759
- name: INSTALL_AZNFS_MOUNT
@@ -114,6 +116,7 @@ spec:
114116
args:
115117
- "--v=5"
116118
- "--endpoint=$(CSI_ENDPOINT)"
119+
- "--enable-azurefile-proxy=true"
117120
- "--azurefile-proxy-endpoint=$(AZUREFILE_PROXY_ENDPOINT)"
118121
- "--nodeid=$(KUBE_NODE_NAME)"
119122
- "--metrics-address=0.0.0.0:29615"

0 commit comments

Comments
 (0)