Skip to content

Commit 68311f8

Browse files
authored
Merge pull request #685 from andyzhangx/fix-runOnMaster
fix: incorrect runOnMaster label config
2 parents 3b13760 + fc9ce96 commit 68311f8

File tree

4 files changed

+2
-1
lines changed

4 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ e2e-bootstrap: install-helm
8989
docker pull $(IMAGE_TAG) || make blob-container push
9090
helm install blob-csi-driver ./charts/latest/blob-csi-driver --namespace kube-system --wait --timeout=15m -v=5 --debug \
9191
--set controller.replicas=1 \
92+
--set controller.runOnMaster=true \
9293
--set cloud=$(CLOUD) \
9394
$(E2E_HELM_OPTIONS)
9495

-6 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
@@ -38,7 +38,7 @@ spec:
3838
nodeSelector:
3939
kubernetes.io/os: linux
4040
{{- if .Values.controller.runOnMaster}}
41-
kubernetes.io/role: master
41+
node-role.kubernetes.io/master: ""
4242
{{- end}}
4343
{{- with .Values.controller.nodeSelector }}
4444
{{ toYaml . | indent 8 }}

test/external-e2e/run.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)