Skip to content
New issue

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

Issue executing helm and connecting to cluster #41

Open
A-Dreyer-Mobster opened this issue Oct 21, 2021 · 3 comments
Open

Issue executing helm and connecting to cluster #41

A-Dreyer-Mobster opened this issue Oct 21, 2021 · 3 comments

Comments

@A-Dreyer-Mobster
Copy link

Setting up kubectl configuration
Preparing helm execution
Executing helm
W1021 10:02:01.532600 10 loader.go:223] Config not found: /home/runner/work/temp/kubeconfig************
Error: Kubernetes cluster unreachable

@WyriHaximus
Copy link
Owner

What does your workflow file look like?

@A-Dreyer-Mobster
Copy link
Author

This was just the error received, the actual values used in the workflow look. like this;
# - name: Helm 3
# uses: WyriHaximus/[email protected]
# with:
# #token: '${{ github.token }}'
# exec: helm upgrade ${{ env.CHART }} "./chartname/" --install --wait --atomic --namespace=${{ env.NAMESPACE }} --set=global.database.host=${{ env.DBNAME }} --set=global.database.username=${{ env.DBUSR }} --values="./chartname/values.yaml"
# #kubeconfig: '${{ secrets.KUBECONFIG }}'

@WyriHaximus
Copy link
Owner

That's rather weird as all it does is it put the kubeconfig you give and use that to run Helm. Is your secret empty?

Could you try the following two uses?

  • WyriHaximus/github-action-helm3@v2
  • WyriHaximus/github-action-helm3@master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants