Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions addons/csi-azurefile/Kustomization
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ patches:
initContainers:
- name: install-azurefile-proxy
image: '{{ .InternalImages.Get "AzureFileCSI" }}'
env:
- name: INSTALL_AZNFS_MOUNT
value: '{{ default "true" .Params.INSTALL_AZNFS_MOUNT }}'
containers:
- name: liveness-probe
image: '{{ .InternalImages.Get "AzureFileCSILivenessProbe" }}'
Expand Down
8 changes: 8 additions & 0 deletions addons/csi-azurefile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ See more: https://github.com/kubernetes-sigs/azurefile-csi-driver/tree/master/ch
```shell
kubectl kustomize --enable-helm . | yq > csi-azurefile.yaml
```

## Using The Addon

You need to replace the following values with the actual ones:

* `INSTALL_AZNFS_MOUNT` can be used to define the value of `INSTALL_AZNFS_MOUNT` env variable which controls if aznfs apt package should be installed on the nodes or not.
* Possible values are `"true"`or `"false"`
* Default is `"true"`.
4 changes: 2 additions & 2 deletions addons/csi-azurefile/csi-azurefile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -912,14 +912,14 @@ spec:
- command:
- /azurefile-proxy/init.sh
env:
- name: INSTALL_AZNFS_MOUNT
value: '{{ default "true" .Params.INSTALL_AZNFS_MOUNT }}'
- name: DEBIAN_FRONTEND
value: noninteractive
- name: AZNFS_NONINTERACTIVE_INSTALL
value: "1"
- name: INSTALL_AZUREFILE_PROXY
value: "true"
- name: INSTALL_AZNFS_MOUNT
value: "true"
- name: KUBELET_PATH
value: /var/lib/kubelet
- name: MIGRATE_K8S_REPO
Expand Down