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.
More hard Flux CD questions
- A HelmRelease sets spec.upgrade.strategy.name: RetryOnFailure and no retryInterval. What happens after an upgrade fails?
- A HelmRelease named podinfo in namespace apps sets targetNamespace: web and no releaseName. Which Helm release name does helm-controller use?
- What does the annotation kustomize.toolkit.fluxcd.io/ssa: IfNotPresent do on an object in a Flux source?
- A change to an immutable field makes Flux's apply of a Job fail. Which annotation on the Job tells Flux to delete and recreate it?
- A GitRepository has no ref field, and the repository's default branch is main. What does Flux check out?
- kustomize-controller can't tell when a custom resource from a third-party operator is healthy. How do you teach it?