File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed
Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ IMAGE_TAG_LATEST = $(REGISTRY)/$(IMAGENAME):latest
4040BUILD_DATE ?= $(shell date -u +"% Y-% m-% dT% H:% M:% SZ")
4141LDFLAGS = -X ${PKG}/pkg/smb.driverVersion=${IMAGE_VERSION} -X ${PKG}/pkg/smb.gitCommit=${GIT_COMMIT} -X ${PKG}/pkg/smb.buildDate=${BUILD_DATE}
4242EXT_LDFLAGS = -s -w -extldflags "-static"
43- E2E_HELM_OPTIONS ?= --set image.smb.repository=$(REGISTRY ) /$(IMAGENAME ) --set image.smb.tag=$(IMAGE_VERSION ) --set controller.dnsPolicy=ClusterFirstWithHostNet --set linux.dnsPolicy=ClusterFirstWithHostNet
43+ E2E_HELM_OPTIONS ?= --set image.smb.repository=$(REGISTRY ) /$(IMAGENAME ) --set image.smb.tag=$(IMAGE_VERSION ) --set controller.dnsPolicy=ClusterFirstWithHostNet --set linux.dnsPolicy=ClusterFirstWithHostNet --set controller.runOnMaster=true
4444E2E_HELM_OPTIONS += ${EXTRA_HELM_OPTIONS}
4545# Generate all combination of all OS, ARCH, and OSVERSIONS for iteration
4646ALL_OS = linux windows
Original file line number Diff line number Diff line change 3434{{- end }}
3535 kubernetes.io/os : linux
3636 {{- if .Values.controller.runOnMaster}}
37- kubernetes.io/role : master
37+ node-role. kubernetes.io/master : " "
3838 {{- end}}
3939 priorityClassName : system-cluster-critical
4040{{- with .Values.controller.tolerations }}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ setup_e2e_binaries() {
3030 tar -xvf e2e-tests.tar.gz && rm e2e-tests.tar.gz
3131
3232 # test on alternative driver name
33- export EXTRA_HELM_OPTIONS=" --set driver.name=$DRIVER .csi.k8s.io --set controller.name=csi-$DRIVER -controller --set linux.dsName=csi-$DRIVER -node --set windows.dsName=csi-$DRIVER -node-win"
33+ export EXTRA_HELM_OPTIONS=" --set driver.name=$DRIVER .csi.k8s.io --set controller.name=csi-$DRIVER -controller --set linux.dsName=csi-$DRIVER -node --set windows.dsName=csi-$DRIVER -node-win --set controller.runOnMaster=true "
3434 sed -i " s/smb.csi.k8s.io/$DRIVER .csi.k8s.io/g" deploy/example/storageclass-smb.yaml
3535 sed -i " s/gid=/uid=/g" deploy/example/storageclass-smb.yaml
3636 make install-smb-provisioner
You can’t perform that action at this time.
0 commit comments