Kustomize
Medium
Concepts
Which field replaces the deprecated vars for copying a value from one resource into another?
Select your answer:
Show answer and explanation
Answer: replacements
Explanation
A replacement names a source, such as a Service's metadata.name, and targets with field paths where the value goes. vars was deprecated in v5.0.0, and 'kustomize edit fix --vars' converts them.
More medium Kustomize questions
- How do you reference a base from a Git repository under resources?
- kustomize build fails because a patch file sits outside the kustomization's directory. What does the default load restrictor require?
- How do you generate a TLS Secret with Kustomize?
- What does sortOptions.order: fifo change in the build output?
- What does generatorOptions.disableNameSuffixHash: true change?
- How can you see what kubectl apply -k would change in the cluster before applying it?