Fix kubectl perm for Travis Kubernetes in Docker

This commit is contained in:
stefanprodan
2018-12-20 15:12:39 +02:00
parent 0529fff9aa
commit 319e444ddf

View File

@@ -16,6 +16,7 @@ before_install:
- make dep
- go get sigs.k8s.io/kind
- curl -LO 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
- kind create cluster
- export KUBECONFIG="$(kind get kubeconfig-path --name="1")"
- ./kubectl cluster-info