setup-helmfile
setup-helmfile copied to clipboard
Kubernetes context
How do I configure a context and credentials to use with this plugin?
To elaborate a bit more, I'm currently doing the below but wondering if there's any more clean way.
mkdir /home/runner/.kube
echo "${{ secrets.KUBECONFIG }}" > /home/runner/.kube/config
This action does not configure kubeconfig. Set it yourself as you wrote.
Since this is something most users of this plugin would have to do I think it makes sense to support it.
For the Helm 3 Github Action it's supported by doing the following
- name: Deploy
uses: WyriHaximus/github-action-helm3@v2
with:
exec: helm upgrade APP_NAME ./.helm/app/ --install --wait --atomic --namespace=APP_NAMESPACE --set=app.name=APP_NAME --values=./.helm/app/values.yaml
kubeconfig: '${{ secrets.KUBECONFIG }}'
Would you be interested in a pull request implementing something like the above?