helm-controller icon indicating copy to clipboard operation
helm-controller copied to clipboard

Need the ability to disable HelmRelease upgrades when a configmap value is changed

Open mvaal opened this issue 2 years ago • 0 comments

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

  1. Create a HelmChart with a strict JSON schema.
  2. Update the chart so it adds a new value to the schema.
  3. Push the updated value to the ConfigMap
  4. 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

mvaal avatar Jan 20 '22 21:01 mvaal