This commit is contained in:
mr
2026-04-14 11:13:59 +02:00
parent cec4c79c7c
commit da511c3e3d

View File

@@ -21,7 +21,9 @@ curl -sfL https://get.k3s.io | sh -
echo "📄 Setting kubeconfig..."
mkdir -p ~/.kube
cp ~/.kube/config ~/.kube/old_config | true
if [ -f ~/.kube/config ]; then
cp ~/.kube/config ~/.kube/old_config || true
fi
sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
export KUBECONFIG=~/.kube/config