File tree Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -62,20 +62,16 @@ e2e-test:
62
62
e2e-bootstrap : install-helm
63
63
# Only build and push the image if it does not exist in the registry
64
64
docker pull $(IMAGE_TAG ) || make blob-container push
65
- helm install charts/latest/ blob-csi-driver -n blob-csi-driver --namespace kube-system --wait \
65
+ helm install blob-csi-driver ./charts/latest/ blob-csi-driver --namespace kube-system --wait --timeout=15m -v=5 --debug \
66
66
$(E2E_HELM_OPTIONS )
67
67
68
68
.PHONY : install-helm
69
69
install-helm :
70
- # Use v2.11.0 helm to match tiller's version in clusters made by aks-engine
71
- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get | DESIRED_VERSION=v2.11.0 bash
72
- # Make sure tiller is ready
73
- kubectl wait pod -l name=tiller --namespace kube-system --for condition=ready --timeout 5m
74
- helm version
70
+ curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
75
71
76
72
.PHONY : e2e-teardown
77
73
e2e-teardown :
78
- helm delete --purge blob-csi-driver
74
+ helm delete blob-csi-driver --namespace kube-system
79
75
80
76
.PHONY : blob
81
77
blob :
Original file line number Diff line number Diff line change 3
3
## Run E2E tests Locally
4
4
### Prerequisite
5
5
- Make sure a kubernetes cluster(with version >= 1.13) is set up and kubeconfig is under ` $HOME/.kube/config ` . Make sure kubectl is functional.
6
- - Better to do: install Helm and Tiller
7
- ```
8
- # Use v2.11.0 helm to match tiller's version in clusters made by aks-engine
9
- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get | DESIRED_VERSION=v2.11.0 bash
10
-
11
- # Install Tiller for Helm version v2.11.0
12
- helm init --history-max 200 --override spec.selector.matchLabels.'name'='tiller',spec.selector.matchLabels.'app'='helm' --output yaml | sed 's@apiVersion: extensions/v1beta1@apiVersion: apps/v1@' | kubectl apply -f -
13
- ```
14
6
- Set Azure credentials by environment variables
15
7
> You could get these variables from ` /etc/kubernetes/azure.json ` on a kubernetes cluster node
16
8
```
You can’t perform that action at this time.
0 commit comments