helm-controller
helm-controller copied to clipboard
Need the ability to disable HelmRelease upgrades when a configmap value is changed
Describe the bug
We are using HelmRelease with a valuesFrom field using a ConfigMap. We have a need where we do not want to trigger a HelmRelease on ConfigMap change, but only HelmRelease itself is updated.
Steps to reproduce
- Create a HelmChart with a strict JSON schema.
- Update the chart so it adds a new value to the schema.
- Push the updated value to the ConfigMap
- Upgrade the HelmRelease Chart version
The ConfigMap upgrade will trigger a HelmRelease before the Chart is updated, but the strict json schema to fail the release, then the HelmRelease will trigger an upgrade and it will succeed.
We have a need to only trigger it once without failure.
Expected behavior
The ConfigMap upgrade should not trigger a HelmRelease, then the HelmRelease will trigger an upgrade and it will succeed.
Also submitted here, not sure if it is the correct repo: https://github.com/fluxcd/flux2/issues/2287