We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp 127.0.0.1:8080: connect: connection refused
I'm doing the following to pass kubeconfig
- name: Set Kube Config run: | aws eks update-kubeconfig --name ${{ env.CLUSTER_NAME }} --region ${{ env.AWS_REGION }} echo 'KUBE_CONFIG_DATA<<EOF' >> $GITHUB_ENV echo $(cat ~/.kube/config | base64) >> $GITHUB_ENV echo $(cat ~/.kube/config) echo 'EOF' >> $GITHUB_ENV
echo $(cat ~/.kube/config)
confirms the correct details
- name: Deploy DB uses: koslib/[email protected] env: KUBE_CONFIG_DATA: ${{ env.KUBE_CONFIG_DATA }} with: command: "helm upgrade --install db --namespace=${{ needs.build.outputs.branch }} --create-namespace ./dbs/mariadb --set tag=${{ needs.build.outputs.branch }} --wait"
The text was updated successfully, but these errors were encountered:
Hello @jcputter, can you post the snippet which shows how this action is used and the env keys/values provided?
Sorry, something went wrong.
sure, i updated the original post
@jcputter I have almost identical setups and it works for me. Can I propose two ideas to try out?
v1.25.2
experimental
Also can you somehow confirm the correct value ends up in the github env?
Confirming that fixing version to v1.25.2 solves the issue for time being.
No branches or pull requests
I'm doing the following to pass kubeconfig
confirms the correct details
The text was updated successfully, but these errors were encountered: