docs/book/src/plugins/available/go-v4-plugin.md
(Default Scaffold)
Kubebuilder will scaffold using the go/v4 plugin only if specified when initializing the project.
This plugin is a composition of the kustomize.common.kubebuilder.io/v2 and base.go.kubebuilder.io/v4 plugins
using the Bundle Plugin. It scaffolds a project template
that helps in constructing sets of controllers.
By following the quickstart and creating any project, you will be using this plugin by default.
<aside class="note"> <h1>Examples</h1>You can check samples using this plugin by looking at the project-v4-<options> projects under the testdata
directory on the root directory of the Kubebuilder project.
To create a new project with the go/v4 plugin the following command can be used:
kubebuilder init --domain tutorial.kubebuilder.io --repo tutorial.kubebuilder.io/project --plugins=go/v4
kubebuilder init [OPTIONS]kubebuilder edit [OPTIONS]kubebuilder create api [OPTIONS]kubebuilder create webhook [OPTIONS]base.go.kubebuilder.io/v4.