You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue I'm running into is that the internal.my-chart format isn't supported, specifically the . and I'm receiving the following error on my HelmRelease object:
HelmChart ''flux-system/flux-system-my-application'' is not ready: invalid chart reference: invalid chart name ''internal.my-chart'': a valid name must be lower case letters and numbers and MAY be separated with dashes (-)
And when I remove the internal. it works without any issues (but obviously targeting the wrong chart).
Now the reason that I'm submitting this issues is that my chart has already been uploaded to our Dockerhub OCI repo and helm pull works, making the validation that's going on here redundant; if there were an error with the name the OCI repo would've already errored before it even gets pushed in.
I was wondering what the reason for this drift from typical helm functionality and if there really isn't, if it's possible to remove the redundant validation.
returnfmt.Errorf("invalid chart name '%s': a valid name must be lower case letters and numbers and MAY be separated with dashes (-) or slashes (/)", r.Name)
I'm happy to make those contributions myself 😃
The text was updated successfully, but these errors were encountered:
It's not released yet. You can build your own source-controller image from https://github.com/fluxcd/source-controller/tree/release/v1.2.x branch to use it now, make docker-build IMG=<image> TAG=<tag>.
We don't have any plan for another patch release yet. This is most likely to be included in Flux v2.3 release planned for some time in April. It'll be safer to build from the aforementioned branch as the main branch may have other changes that are not ready to be release yet.
Hello,
I'm setting up a workflow with the following components:
I've setup the following
HelmRepository
:and the following
HelmRelease
:The issue I'm running into is that the
internal.my-chart
format isn't supported, specifically the.
and I'm receiving the following error on myHelmRelease
object:And when I remove the
internal.
it works without any issues (but obviously targeting the wrong chart).Now the reason that I'm submitting this issues is that my chart has already been uploaded to our Dockerhub OCI repo and
helm pull
works, making the validation that's going on here redundant; if there were an error with the name the OCI repo would've already errored before it even gets pushed in.I was wondering what the reason for this drift from typical
helm
functionality and if there really isn't, if it's possible to remove the redundant validation.Seems like this regex just needs to be altered:
source-controller/internal/helm/chart/builder.go
Line 86 in eff5a07
I'm happy to make those contributions myself 😃
The text was updated successfully, but these errors were encountered: