modified: .gitea/actions/kubectl-setup/action.yaml
All checks were successful
/ build-docker-image (push) Successful in 11s

This commit is contained in:
2025-11-22 16:07:39 +00:00
parent cd4e186c11
commit 7ddddd1db0

View File

@@ -71,5 +71,9 @@ runs:
echo "KUBECONFIG=${GITHUB_TEMP}/.kube/config" >> "${GITHUB_ENV}"
# tests communication to server (add v argument if debug is required)
curl -kv -cacert <(echo "${{ inputs.kube_ca_base64 }}" | base64 -d) -H "Authorization: Bearer ${{ inputs.kube_token }}" ${{ inputs.kube_server }}/version
# -k - allow insecure cert
# -s - silent
# -S - output errors
# -v - verbose
curl -ksS -cacert <(echo "${{ inputs.kube_ca_base64 }}" | base64 -d) -H "Authorization: Bearer ${{ inputs.kube_token }}" ${{ inputs.kube_server }}/version