Updates Minikube start command to use --driver option instead of the deprecated --vm-driver

Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>
This commit is contained in:
Andres Gomez Coronel 2021-02-05 11:59:09 -03:00
parent d5f3a4b939
commit 0b71b50b0c
No known key found for this signature in database
GPG Key ID: D03B4546382B15BE
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ before_script:
- curl -s -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
# Download minikube.
- curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
- sudo minikube start --vm-driver=none --bootstrapper=kubeadm
- sudo minikube start --driver=none --bootstrapper=kubeadm
# Fix the kubectl context, as it's often stale.
- sudo chown -R $USER.$USER ~/.kube
- sudo chown -R $USER.$USER ~/.minikube