Writing Code
- RunBuild
- Run: performs a kustomization. It uses its internal filesystem reference to read the file at the given path argument, interpret it as a kustomization.yaml file, perform the kustomization it represents, and return the resulting resources.
- Create factories
- MakeCustomizeResMap: details in next section
- Run: performs a kustomization. It uses its internal filesystem reference to read the file at the given path argument, interpret it as a kustomization.yaml file, perform the kustomization it represents, and return the resulting resources.
Make resource map
- AccumulateTarget: returns a new ResAccumulator, holding customized resources and the data/rules used to do so. The name back references and vars are not yet fixed.
- : fills the given resourceAccumulator with resources read from the given list of paths.
- Merge config from builtin and CRDs
- runGenerators
- ConfigMapGenerator
- SecretGenerator
- configureExternalGenerators
- Iterate all generators
- The following steps must be done last, not as part of the recursion implicit in AccumulateTarget.
- AccumulateTarget: returns a new ResAccumulator, holding customized resources and the data/rules used to do so. The name back references and vars are not yet fixed.