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

Flux CD, Hard (Expert), Architecture. https://k8wiz.com/uquiz/the-helmrelease-appspodinfo-uses-specchart-with-a-sourceref-to-a-helmrepository-in-flux-system-where-does-helm-controller-create

- A. flux-system/apps-podinfo
- B. apps/podinfo
- C. apps/apps-podinfo
- D. flux-system/podinfo

**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.
