rights
This commit is contained in:
@@ -25,6 +25,7 @@ if [ -f ~/.kube/config ]; then
|
||||
cp ~/.kube/config ~/.kube/old_config || true
|
||||
fi
|
||||
sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
|
||||
sudo chown $(whoami):$(whoami) ~/.kube/config && chmod 644 ~/.kube/config
|
||||
export KUBECONFIG=~/.kube/config
|
||||
|
||||
echo "⏳ Waiting for CoreDNS deployment to exist..."
|
||||
|
||||
Reference in New Issue
Block a user