modified: .gitea/actions/kubectl-setup/action.yaml
All checks were successful
/ build-docker-image (push) Successful in 11s
All checks were successful
/ build-docker-image (push) Successful in 11s
This commit is contained in:
@@ -71,5 +71,9 @@ runs:
|
|||||||
echo "KUBECONFIG=${GITHUB_TEMP}/.kube/config" >> "${GITHUB_ENV}"
|
echo "KUBECONFIG=${GITHUB_TEMP}/.kube/config" >> "${GITHUB_ENV}"
|
||||||
|
|
||||||
# tests communication to server (add v argument if debug is required)
|
# 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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user