Change cluster name
This commit is contained in:
parent
2a20201dba
commit
ca36347384
|
@ -25,7 +25,7 @@ docker push tusproject/tusd:latest;
|
||||||
gcloud config set container/use_client_certificate True
|
gcloud config set container/use_client_certificate True
|
||||||
export CLOUDSDK_CONTAINER_USE_CLIENT_CERTIFICATE=True
|
export CLOUDSDK_CONTAINER_USE_CLIENT_CERTIFICATE=True
|
||||||
|
|
||||||
kubectl config set-cluster transloadit-cluster --embed-certs=true --server=${CLUSTER_ENDPOINT} --certificate-authority=${HOME}/ca.crt
|
kubectl config set-cluster transloadit-gke-cluster --embed-certs=true --server=${CLUSTER_ENDPOINT} --certificate-authority=${HOME}/ca.crt
|
||||||
kubectl config set-credentials travis --token=$SA_TOKEN
|
kubectl config set-credentials travis --token=$SA_TOKEN
|
||||||
kubectl config set-context travis --cluster=$CLUSTER_NAME --user=travis --namespace=tus
|
kubectl config set-context travis --cluster=$CLUSTER_NAME --user=travis --namespace=tus
|
||||||
kubectl config use-context travis
|
kubectl config use-context travis
|
||||||
|
|
Loading…
Reference in New Issue