k8wiz
Flux CD
Hard
Architecture

The HelmRelease apps/podinfo uses spec.chart with a sourceRef to a HelmRepository in flux-system. Where does helm-controller create the HelmChart?

Select your answer:

Show answer and explanation

Answer: flux-system/apps-podinfo

Explanation

A HelmChart made from the chart template goes into the namespace of the sourceRef, and its name is the HelmRelease's <namespace>-<name>. The reference is reported in .status.helmChart. When spec.chart.kind is OCIRepository, the generated source goes into the HelmRelease's own namespace instead, with the same naming.

Read more about Flux CD