HelmChart reuse #3895
-
Hi, everyone! Flux v2 is cool, but it seems to be some unclear spots here with HelmChart resource. As I can see in documentation, I can declare Flux On the other hand when I create two It seems to be some kind of unnecessary API-resource duplication, while "hand-made" HelmChart object just can't be referenced from HelmReleases for reuse. Am I missing something? Is there any way to avoid this |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You've probably moved on from this, but for anyone else search, the Thus you are able to define the helm chart once, and reference that in as many helm releases as you'd like. |
Beta Was this translation helpful? Give feedback.
-
Yes, that's definitely solves the question! |
Beta Was this translation helpful? Give feedback.
You've probably moved on from this, but for anyone else search, the
HelmRelease
spec now supports achartRef
. See https://fluxcd.io/flux/components/helm/helmreleases/#chart-referenceThus you are able to define the helm chart once, and reference that in as many helm releases as you'd like.