Closed waterbrother closed 1 year ago
I have some information to add to this: if the aliased charts are referencing the chart at the same version, they're rendered correctly. It seems that only one version of a chart dependency can be rendered at a time.
Hi @waterbrother, the bug was in source-controller
, which is responsible for reconciling helmCharts
custom resources. The fix has been merged and will hopefully be part of the next release.
Hi @souleb That makes sense; thank you for the fast fix! When is the next release scheduled, or how can I be notified when this is released?
how can I be notified when this is released?
Subscribe to the https://github.com/fluxcd/flux2 releases by clicking the watch
button. Also please setup Flux autoupdate workflow for your bootstrap repos: https://github.com/fluxcd/flux2/tree/main/action#automate-flux-updates
Awesome, thanks again!
Updated via https://github.com/fluxcd/helm-controller/pull/581, release building. Thanks @waterbrother and @souleb :bow:
Describe the bug
When the Flux helm controller renders a Helm chart with aliased Dependencies, only one of the aliased charts is installed to the cluster. It appears to be indeterminate which version of the chart dependency gets installed; the consistent factor is that only one dependency is installed.
Example Chart.yaml:
Result from
kubectl get deploy -n default
:If the Chart is installed with
helm upgrade --install
, the Dependencies are installed as expected:Flux is installing the Chart from a Git source:
Here's the HelmRelease:
FluxCD version:
Kubernetes version:
Steps to reproduce
Expected behavior
A set of resources based on the name of the aliased charts is created.