Support chartRef for flux HelmRelease
#31945
ssams
started this conversation in
Suggest an Idea
Replies: 1 comment
|
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Tell us more.
Current Flux documentation suggests using "chart reference" in
HelmReleaseobjects: https://fluxcd.io/flux/guides/helmreleases/#using-a-chart-referenceFor this there are two options. First once can reference an
OCIRepositoryin which case everything works nicely with Renovate as theOCIRepositoryitself contains the version, and Renovate will support this already.However, the second option is to reference a
HelmChart: https://fluxcd.io/flux/components/helm/helmreleases/#helmchart-reference-exampleIn this case there is another indirection which is currently not supported by Renovate. First the
HelmChartneeds to be determined which contains the current version, and then from this figure out theHelmRepositorywhich contains the actual remote source. Implementation is likely very similar to the existing lookup ofHelmRepositoryfrom asourceRef(renovate/lib/modules/manager/flux/extract.ts
Lines 135 to 142 in 5cb1078
All reactions