diff --git a/charts/README.md b/charts/README.md index d803fa7bca..8fc61aaaea 100644 --- a/charts/README.md +++ b/charts/README.md @@ -57,7 +57,7 @@ The following table lists the configurable parameters of the latest Azure File C | `image.nodeDriverRegistrar.repository` | csi-node-driver-registrar docker image | mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar | | `image.nodeDriverRegistrar.tag` | csi-node-driver-registrar docker image tag | v2.0.1 | | `image.nodeDriverRegistrar.pullPolicy` | csi-node-driver-registrar image pull policy | IfNotPresent | -| `imagePullSecrets` | Specify docker-registry secret names as an array | [] (does not add image pull secrets to deployed pods) | +| `imagePullSecrets` | Specify docker-registry secret names as an array | [] (does not add image pull secrets to deployed pods) | | `serviceAccount.create` | whether create service account of csi-azurefile-controller | true | | `rbac.create` | whether create rbac of csi-azurefile-controller | true | | `controller.replicas` | the replicas of csi-azurefile-controller | 2 | @@ -87,6 +87,7 @@ The following table lists the configurable parameters of the latest Azure File C | `windows.image.nodeDriverRegistrar.pullPolicy` | windows csi-node-driver-registrar image pull policy | IfNotPresent | | `kubelet.linuxPath` | configure the kubelet path for Linux node | `/var/lib/kubelet` | | `kubelet.windowsPath` | configure the kubelet path for Windows node | `'C:\var\lib\kubelet'` | +| `node.livenessProbe.healthPort ` | the health check port for liveness probe | `29613` | ## troubleshooting - Add `--wait -v=5 --debug` in `helm install` command to get detailed error diff --git a/charts/latest/azurefile-csi-driver-v1.3.0.tgz b/charts/latest/azurefile-csi-driver-v1.3.0.tgz index a14b90d6fc..7c25b0fb83 100644 Binary files a/charts/latest/azurefile-csi-driver-v1.3.0.tgz and b/charts/latest/azurefile-csi-driver-v1.3.0.tgz differ diff --git a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml index da83af88bc..0f1f5cdc50 100755 --- a/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml +++ b/charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml @@ -41,7 +41,7 @@ spec: args: - --csi-address=/csi/csi.sock - --probe-timeout=3s - - --health-port=29613 + - --health-port={{ .Values.node.livenessProbe.healthPort }} - --v=2 imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }} resources: diff --git a/charts/latest/azurefile-csi-driver/values.yaml b/charts/latest/azurefile-csi-driver/values.yaml index 8f9a01844c..bee190fae7 100755 --- a/charts/latest/azurefile-csi-driver/values.yaml +++ b/charts/latest/azurefile-csi-driver/values.yaml @@ -40,6 +40,8 @@ controller: node: metricsPort: 29615 logLevel: 5 + livenessProbe: + healthPort: 29613 snapshot: enabled: false