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

Can't seem to install pre-release helmrelease (A.B.C-alpha.N) #997

Open
joaocc opened this issue May 28, 2024 · 0 comments
Open

Can't seem to install pre-release helmrelease (A.B.C-alpha.N) #997

joaocc opened this issue May 28, 2024 · 0 comments

Comments

@joaocc
Copy link

joaocc commented May 28, 2024

Hi,
Trying to install the alpha version of a chart, using flux 2.2.3 with pre-release patch.

The following helm command runs well on cli.

helm upgrade --dry-run vcp vcluster-platform --install --repo https://charts.loft.sh/  --version 4.0.0-alpha.5 --namespace test-vcp

However, when I try to install via flux, with the following config snippets, I get an error:

---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
  name: loft-sh.vcluster
  # name: vcluster
  namespace: flux-system
spec:
  interval: 25h
  url: https://charts.loft.sh
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: vcp
  namespace: test-vcp
spec:
  interval: 5m
  chart:
    spec:
      chart: vcluster-platform
      version: "4.0.0-alpha.5"
      sourceRef:
        kind: HelmRepository
        name: loft-sh.vcluster
        namespace: flux-system
      interval: 5h
...
Message
invalid chart reference: failed to get chart version for remote reference: no 'vcluster-platform' chart with version matching '4.0.0-alpha.5' found
Reason
InvalidChartReference

Besides the manual helm command running well, the manual inspection of index.yaml and downloading the tgz all seem to work.
Is there any flag that prevents the specification of pre-release releases?
Any ideas?
Thx

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

1 participant