Skip to content

Commit 18e1205

Browse files
authored
Merge pull request #481 from andyzhangx/hostnetwork
feat: customize controller hostNetwork setting in helm install
2 parents c6d55df + ae5cc5a commit 18e1205

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

charts/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ The following table lists the configurable parameters of the latest Azure Blob S
8787
| `controller.cloudConfigSecretName` | cloud config secret name of controller driver | `azure-cloud-provider`
8888
| `controller.cloudConfigSecretNamespace` | cloud config secret namespace of controller driver | `kube-system`
8989
| `controller.replicas` | the replicas of csi-blob-controller | `2` |
90+
| `controller.hostNetwork` | `hostNetwork` setting on controller driver(could be disabled if controller does not depend on MSI setting) | `true` | `true`, `false`
9091
| `controller.metricsPort` | metrics port of csi-blob-controller | `29634` |
9192
| `controller.livenessProbe.healthPort ` | health check port for liveness probe | `29632` |
9293
| `controller.runOnMaster` | run controller on master node | `true` |
52 Bytes
Binary file not shown.

charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
imagePullSecrets:
3030
{{ toYaml .Values.imagePullSecrets | indent 8 }}
3131
{{- end }}
32-
hostNetwork: true
32+
hostNetwork: {{ .Values.controller.hostNetwork }}
3333
serviceAccountName: {{ .Values.serviceAccount.controller }}
3434
nodeSelector:
3535
kubernetes.io/os: linux

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ controller:
3838
name: csi-blob-controller
3939
cloudConfigSecretName: azure-cloud-provider
4040
cloudConfigSecretNamespace: kube-system
41+
hostNetwork: true # this setting could be disabled if controller does not depend on MSI setting
4142
metricsPort: 29634
4243
livenessProbe:
4344
healthPort: 29632

0 commit comments

Comments
 (0)