Flux CD
Hard
Concepts
A HelmRelease named podinfo in namespace apps sets targetNamespace: web and no releaseName. Which Helm release name does helm-controller use?
Select your answer:
Show answer and explanation
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.
More hard Flux CD questions
- 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?
- You want to delete a Flux Kustomization but keep the workloads it created running. Which field do you set first?
- In a CI job, 'flux diff kustomization' exits with status 1. What does that mean?