Apply Configuration
These markers control when ApplyConfiguration types are generated for the kinds in a package. These types provide a type-safe way to build patches for Server-Side Apply.
See the Server-Side Apply reference for how the --ssa
flag enables this generation and for examples of using the generated types.
- // +kubebuilder:ac:output:package
-
- string
overrides the default output package for the applyconfiguration generation, supports relative paths to the API directory. The default value is "applyconfiguration"
- string
- // +kubebuilder:ac:generate
-
- bool
overrides enabling or disabling applyconfiguration generation for the package
- bool
- // +kubebuilder:ac:generate
-
- bool
overrides enabling or disabling applyconfiguration generation for the type, can be used to generate applyconfiguration for a single type when the package generation is disabled, or to disable generation for a single type when the package generation is enabled
- bool