mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-03-05 03:20:28 +00:00
Fix kubectl perm for Travis Kubernetes in Docker
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user