Flux HelmRelease "values could not be rendered" in CI
helm-controller assembles values from spec.values and spec.valuesFrom, then renders the chart with them. A referenced ConfigMap or Secret is missing, or the merged values produce a template error, so the release cannot be rendered.
What this error means
A HelmRelease reports "False" with a values-related error such as "could not resolve" a valuesFrom source, or a template failure caused by a bad value.
values could not be rendered: could not resolve reference: ConfigMap "web-values" not foundCommon causes
A valuesFrom ConfigMap or Secret is missing
The HelmRelease references a valuesFrom source that does not exist in the namespace, so the values cannot be assembled.
The merged values break the chart template
A value has the wrong type or a required field is absent, so rendering the chart with the merged values fails.
How to fix it
Create the referenced values source
- Create the ConfigMap or Secret named in
valuesFromin the release namespace. - Confirm the key referenced by
valuesKeyexists. - Reconcile the HelmRelease.
kubectl -n apps create configmap web-values --from-file=values.yaml
flux reconcile helmrelease webFix a values-driven template error
If rendering fails on a value, correct the type or add the required key in spec.values, then reconcile.
kubectl -n flux-system describe helmrelease web
flux logs --kind HelmRelease --name webHow to prevent it
- Create valuesFrom ConfigMaps and Secrets alongside the HelmRelease.
- Validate the merged values against the chart before applying.
- Keep required values explicit so a missing key fails clearly.