mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
fix: update kubeconfig setup to skip TLS verification for cluster connectivity
This commit is contained in:
1 parent
7c7d94b3fb
commit
1cfe577055
1 file changed
+3
@@ -53,6 +53,9 @@ jobs:
|
||||
fi
|
||||
mkdir -p "$HOME/.kube"
|
||||
echo "${{ secrets.KUBE_CONFIG }}" | base64 --decode > "$HOME/.kube/config"
|
||||
CLUSTER_NAME=$(kubectl config view -o jsonpath='{.clusters[0].name}')
|
||||
kubectl config unset "clusters.${CLUSTER_NAME}.certificate-authority-data"
|
||||
kubectl config set-cluster "$CLUSTER_NAME" --insecure-skip-tls-verify=true
|
||||
|
||||
- name: Verify cluster connectivity
|
||||
run: kubectl get deployment fluxer -n fh-nologicalan-remix
|
||||
|
||||
Reference in new issue
Block a user