Skip to content

Commit 175ec42

Browse files
authored
Merge pull request #2045 from kubernetes-sigs/hpc-default-1.30
[release-1.30] chore: set HostProcess container deployment on Windows as default
2 parents 523297d + 71fc0cf commit 175ec42

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

charts/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ The following table lists the configurable parameters of the latest Azure File C
166166
| `linux.resources.azurefile.requests.memory` | azurefile memory requests | 20Mi |
167167
| `windows.enabled` | whether enable windows feature | `true` |
168168
| `windows.dsName` | name of driver daemonset on windows |`csi-azurefile-node-win` |
169-
| `windows.useHostProcessContainers` | whether deploy driver daemonset with host process containers on windows | `false` |
169+
| `windows.useHostProcessContainers` | whether deploy driver daemonset with HostProcess containers on windows | `false` |
170170
| `windows.kubelet` | configure kubelet directory path on Windows agent node | `'C:\var\lib\kubelet'` |
171171
| `windows.kubeconfig` | configure kubeconfig path on Windows agent node | `` (empty, use InClusterConfig by default) |
172172
| `windows.enableRegistrationProbe` | enable [kubelet-registration-probe](https://github.com/kubernetes-csi/node-driver-registrar#health-check-with-an-exec-probe) on windows driver config | `true`
-4 Bytes
Binary file not shown.

charts/latest/azurefile-csi-driver/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ linux:
208208

209209
windows:
210210
enabled: true
211-
useHostProcessContainers: false
211+
useHostProcessContainers: true
212212
dsName: csi-azurefile-node-win # daemonset name
213213
kubelet: 'C:\var\lib\kubelet'
214214
kubeconfig: ""

deploy/install-driver.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ kubectl apply -f $repo/csi-azurefile-controller.yaml
4242
kubectl apply -f $repo/csi-azurefile-driver.yaml
4343
kubectl apply -f $repo/csi-azurefile-node.yaml
4444

45-
windowsMode="csi-proxy"
45+
windowsMode="hostprocess"
4646

4747
if [[ "$#" -gt 1 ]]; then
4848
if [[ "$2" == *"snapshot"* ]]; then
@@ -52,8 +52,8 @@ if [[ "$#" -gt 1 ]]; then
5252
kubectl apply -f $repo/csi-snapshot-controller.yaml
5353
fi
5454

55-
if [[ "$2" == *"hostprocess"* ]]; then
56-
windowsMode="hostProcess"
55+
if [[ "$2" == *"csi-proxy"* ]]; then
56+
windowsMode="csi-proxy"
5757
fi
5858
fi
5959

0 commit comments

Comments
 (0)