Skip to content

Commit bd80588

Browse files
authored
Merge pull request #486 from andyzhangx/maxUnavailable
feat: support maxUnavailable config in helm chart
2 parents cc5735f + 4444f67 commit bd80588

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

charts/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ The following table lists the configurable parameters of the latest Azure Blob S
112112
| `node.name` | name of driver daemonset | `csi-blob-node`
113113
| `node.cloudConfigSecretName` | cloud config secret name of node driver | `azure-cloud-provider`
114114
| `node.cloudConfigSecretNamespace` | cloud config secret namespace of node driver | `kube-system`
115+
| `node.maxUnavailable` | `maxUnavailable` value of driver node daemonset | `1`
115116
| `node.metricsPort` | metrics port of csi-blob-node | `29635` |
116117
| `node.livenessProbe.healthPort ` | health check port for liveness probe | `29633` |
117118
| `node.logLevel` | node driver log level | `5` |
45 Bytes
Binary file not shown.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ metadata:
55
namespace: {{ .Release.Namespace }}
66
{{ include "blob.labels" . | indent 2 }}
77
spec:
8+
updateStrategy:
9+
rollingUpdate:
10+
maxUnavailable: {{ .Values.node.maxUnavailable }}
11+
type: RollingUpdate
812
selector:
913
matchLabels:
1014
app: {{ .Values.node.name }}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ node:
8888
name: csi-blob-node
8989
cloudConfigSecretName: azure-cloud-provider
9090
cloudConfigSecretNamespace: kube-system
91+
maxUnavailable: 1
9192
metricsPort: 29635
9293
livenessProbe:
9394
healthPort: 29633

deploy/csi-blob-node.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ metadata:
55
name: csi-blob-node
66
namespace: kube-system
77
spec:
8+
updateStrategy:
9+
rollingUpdate:
10+
maxUnavailable: 1
11+
type: RollingUpdate
812
selector:
913
matchLabels:
1014
app: csi-blob-node

0 commit comments

Comments
 (0)