Skip to content

Commit

Permalink
Update helm install
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhuqi committed May 26, 2021
1 parent a03a482 commit cca6fa0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ e2e-test:
e2e-bootstrap: install-helm
docker pull $(IMAGE_TAG) || make container-all push-manifest
ifdef TEST_WINDOWS
helm install csi-driver-smb charts/latest/csi-driver-smb --namespace kube-system --wait --timeout=15m -v=5 --debug \
helm upgrade csi-driver-smb charts/latest/csi-driver-smb --namespace kube-system --wait --timeout=15m -v=5 --debug --install \
${E2E_HELM_OPTIONS} \
--set windows.enabled=true \
--set linux.enabled=false \
--set controller.replicas=1 \
--set controller.logLevel=6 \
--set node.logLevel=6
else
helm install csi-driver-smb charts/latest/csi-driver-smb --namespace kube-system --wait --timeout=15m -v=5 --debug \
helm upgrade csi-driver-smb charts/latest/csi-driver-smb --namespace kube-system --wait --timeout=15m -v=5 --debug --install \
${E2E_HELM_OPTIONS}
endif

Expand Down Expand Up @@ -196,11 +196,11 @@ install-smb-provisioner:
kubectl delete secret smbcreds --ignore-not-found
kubectl create secret generic smbcreds --from-literal username=USERNAME --from-literal password="PASSWORD"
ifdef TEST_WINDOWS
kubectl create -f deploy/example/smb-provisioner/smb-server-lb.yaml
kubectl apply -f deploy/example/smb-provisioner/smb-server-lb.yaml
else
kubectl create -f deploy/example/smb-provisioner/smb-server.yaml
kubectl apply -f deploy/example/smb-provisioner/smb-server.yaml
endif

.PHONY: create-metrics-svc
create-metrics-svc:
kubectl create -f deploy/example/metrics/csi-smb-controller-svc.yaml
kubectl apply -f deploy/example/metrics/csi-smb-controller-svc.yaml

0 comments on commit cca6fa0

Please sign in to comment.