base64 decode user token
This commit is contained in:
parent
9deb602d22
commit
b82bbae0c5
@ -22,7 +22,7 @@ kubectl config set-cluster atat-cluster \
|
|||||||
--server="${K8S_ENDPOINT}" \
|
--server="${K8S_ENDPOINT}" \
|
||||||
--certificate-authority="${HOME}/k8s_ca.crt"
|
--certificate-authority="${HOME}/k8s_ca.crt"
|
||||||
|
|
||||||
kubectl config set-credentials atat-deployer --token="${K8S_USER_TOKEN}"
|
kubectl config set-credentials atat-deployer --token=`echo ${K8S_USER_TOKEN} | base64 --decode`
|
||||||
|
|
||||||
kubectl config use-context travis
|
kubectl config use-context travis
|
||||||
kubectl config current-context
|
kubectl config current-context
|
||||||
|
Loading…
x
Reference in New Issue
Block a user