# A HelmRelease named podinfo in namespace apps sets targetNamespace: web and no releaseName. Which Helm release name does helm-controller use?

Flux CD, Hard (Expert), Concepts. https://k8wiz.com/uquiz/a-helmrelease-named-podinfo-in-namespace-apps-sets-targetnamespace-web-and-no-releasename-which-helm-release-name-does-helm-cont

- A. podinfo
- B. web-podinfo
- C. apps-podinfo
- D. apps-web-podinfo

**Answer:** web-podinfo

**Explanation:** The release name defaults to [<targetNamespace>-]<name>, so a target namespace is prefixed and the HelmRelease's own namespace is not. Without targetNamespace the release would just be podinfo. Names longer than 53 characters are shortened to 40 characters plus a dash and 12 characters of a SHA-256 hash.
