mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Update doctl to use default context
- access token is ignored if any other context is passed in
This commit is contained in:
parent
ce5d67235c
commit
a4386c17cf
@ -13,6 +13,6 @@ tar xf doctl-1.14.0-linux-amd64.tar.gz
|
|||||||
chmod +x ./doctl
|
chmod +x ./doctl
|
||||||
sudo mv ./doctl /usr/local/bin/doctl
|
sudo mv ./doctl /usr/local/bin/doctl
|
||||||
|
|
||||||
doctl auth --context develop init --access-token $DIGITALOCEAN_ACCESS_TOKEN
|
doctl auth init --access-token $DIGITALOCEAN_ACCESS_TOKEN
|
||||||
mkdir -p ~/.kube/
|
mkdir -p ~/.kube/
|
||||||
doctl k8s --context develop cluster kubeconfig show develop > ~/.kube/config
|
doctl k8s cluster kubeconfig show develop > ~/.kube/config
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user