Kustomize
Medium
Commands
Which kustomization files does kustomize edit fix rewrite when you run it?
Select your answer:
Show answer and explanation
Answer: Only the kustomization file in the current directory
Explanation
Like the other kustomize edit commands, fix reads and writes the kustomization file in the current directory. It doesn't follow resources into bases, so you run it once in each base and overlay directory.
More medium Kustomize questions
- Why can adding a label through commonLabels make kubectl apply fail for an existing Deployment?
- How do you add a label to every resource without changing any selectors?
- What does an images entry with name: nginx and a digest: sha256:... value do?
- A strategic merge patch lists one container with a new image. What happens to the base's other containers?
- How do you remove a container from a base Deployment with a strategic merge patch?
- When is a JSON 6902 patch a better choice than a strategic merge patch?