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

helm-install: local install does not seem possible #52

Open
mnp opened this issue Apr 25, 2024 · 3 comments
Open

helm-install: local install does not seem possible #52

mnp opened this issue Apr 25, 2024 · 3 comments

Comments

@mnp
Copy link

mnp commented Apr 25, 2024

In helm-install, since registry-username and registry-password are required, it does not seem possible to install from only a local checked-out chart directory. If local were allowed, I would expect those to be optional and some kind of chart-path argument would be used instead.

The action README could clarify this situation either way, since it does mention local but doesn't say how.

@marccampbell
Copy link
Member

Agreed that we should update the docs here. It is possible today:

Here's an example:

      - id: helm-install
        uses: replicatedhq/compatibility-actions/helm-install@v1
        with:
          kubeconfig: ${{ steps.create-cluster.outputs.cluster-kubeconfig }}
          chart: ./my-chart-0.0.0-alpha.${{ steps.vars.outputs.sha_short }}/my-chart
          name: 'my-chart'
          version: 'alpha.0.0.0-${{ steps.vars.outputs.sha_short }}'
          namespace: 'my-namespace'
          helm-path: 'helm'
          values: |
            replicated:
              integration:
                licenseID: ${{ secrets.REPLICATED_LICENSE_ID }}

@marccampbell
Copy link
Member

@mnp
Copy link
Author

mnp commented Apr 25, 2024

@marccampbell Thanks, I'll give it a try. Incidentally, values: is documented to take a values.yaml file but there are also places where it takes a map literal, as above.

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