Writing Code
Background information to help orient newcomers to the Kustomize codebase
Workspace mode
Kustomize supports go workspace mode, so if adding locally modified modules, remember to also add it to the go.work file.Build command
All kustomize commands can be found in kustomize/commands
Running kustomize build
triggers the NewCmdBuild, which does the following:
-
creates a Kustomizer instance
-
calls Run to perform the kustomization
-
returns the kustomization output as yaml
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 29, 2022: migrate site content: contributing docs (#4709) (506dc4f9)