debugging
This commit is contained in:
parent
128d87636a
commit
24c382d520
@ -56,7 +56,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Validate kubeconfig
|
- name: Validate kubeconfig
|
||||||
run: |
|
run: |
|
||||||
if ! kubectl version --client && kubectl cluster-info; then
|
if ! kubectl version --client && kubectl cluster-info --kubeconfig ~/.kube/config; then
|
||||||
echo "❌ Failed to connect to cluster"
|
echo "❌ Failed to connect to cluster"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@ -64,4 +64,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy to k3s
|
- name: Deploy to k3s
|
||||||
run: |
|
run: |
|
||||||
kubectl apply -k deploy/k3s/
|
kubectl apply -k deploy/k3s/ --kubeconfig ~/.kube/config
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user