diff --git a/charts/README.md b/charts/README.md index 77e0cb2882..2e0c3de378 100644 --- a/charts/README.md +++ b/charts/README.md @@ -88,6 +88,7 @@ The following table lists the configurable parameters of the latest Azure Disk C | `controller.runOnMaster` | run csi-azuredisk-controller on master node | `false` | | `controller.logLevel` | controller driver log level |`5` | | `controller.tolerations` | controller pod tolerations | | +| `controller.hostNetwork` | `hostNetwork` setting on controller driver(could be disabled if controller does not depend on MSI setting) | `true` | `true`, `false` | `node.metricsPort` | metrics port of csi-azuredisk-node |`29605` | | `node.livenessProbe.healthPort ` | health check port for liveness probe | `29603` | | `node.logLevel` | node driver log level |`5` | @@ -105,6 +106,7 @@ The following table lists the configurable parameters of the latest Azure Disk C | `linux.kubelet` | configure kubelet directory path on Linux agent node | `/var/lib/kubelet` | | `linux.distro` | configure ssl certificates for different Linux distribution(available values: `debian`, `fedora`) | `debian` | | `linux.tolerations` | linux node driver tolerations | | +| `linux.hostNetwork` | `hostNetwork` setting on linux node driver(could be disabled if perfProfile is `none`) | `true` | `true`, `false` | `windows.enabled` | whether enable windows feature | `true` | | `windows.dsName` | name of driver daemonset on windows |`csi-azuredisk-node-win` | | `windows.kubelet` | configure kubelet directory path on Windows agent node | `'C:\var\lib\kubelet'` | diff --git a/charts/latest/azuredisk-csi-driver-v1.5.0.tgz b/charts/latest/azuredisk-csi-driver-v1.5.0.tgz index 1b95dcbc1d..735c3d7615 100644 Binary files a/charts/latest/azuredisk-csi-driver-v1.5.0.tgz and b/charts/latest/azuredisk-csi-driver-v1.5.0.tgz differ diff --git a/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml b/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml index bd41340cf8..9f044e16e5 100755 --- a/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml +++ b/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml @@ -21,7 +21,7 @@ spec: imagePullSecrets: {{ toYaml .Values.imagePullSecrets | indent 8 }} {{- end }} - hostNetwork: true + hostNetwork: {{ .Values.controller.hostNetwork }} serviceAccountName: {{ .Values.serviceAccount.controller }} nodeSelector: kubernetes.io/os: linux diff --git a/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-node.yaml b/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-node.yaml index 06bf66031e..e8784db0e8 100755 --- a/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-node.yaml +++ b/charts/latest/azuredisk-csi-driver/templates/csi-azuredisk-node.yaml @@ -21,7 +21,7 @@ spec: imagePullSecrets: {{ toYaml .Values.imagePullSecrets | indent 8 }} {{- end }} - hostNetwork: true + hostNetwork: {{ .Values.linux.hostNetwork }} dnsPolicy: ClusterFirstWithHostNet serviceAccountName: {{ .Values.serviceAccount.node }} nodeSelector: diff --git a/charts/latest/azuredisk-csi-driver/values.yaml b/charts/latest/azuredisk-csi-driver/values.yaml index 07b1b14b17..8aa356a121 100755 --- a/charts/latest/azuredisk-csi-driver/values.yaml +++ b/charts/latest/azuredisk-csi-driver/values.yaml @@ -52,6 +52,7 @@ controller: - key: "node-role.kubernetes.io/controlplane" operator: "Exists" effect: "NoSchedule" + hostNetwork: true # this setting could be disabled if controller does not depend on MSI setting podLabels: {} node: @@ -95,6 +96,7 @@ linux: enablePerfOptimization: true tolerations: - operator: "Exists" + hostNetwork: true # this setting could be disabled if perfProfile is `none` podLabels: {} windows: