diff --git a/cmd/main.go b/cmd/main.go index b320ef6d4bc..da6af08b51d 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -75,7 +75,7 @@ func main() { ), cli.WithPlugins(externalPlugins...), cli.WithDefaultPlugins(cfgv2.Version, golangv2.Plugin{}), - cli.WithDefaultPlugins(cfgv3.Version, gov3Bundle), + cli.WithDefaultPlugins(cfgv3.Version, gov4Bundle), cli.WithDefaultProjectVersion(cfgv3.Version), cli.WithCompletion(), ) diff --git a/docs/book/src/quick-start.md b/docs/book/src/quick-start.md index 0d49942ad97..010f4ecbabf 100644 --- a/docs/book/src/quick-start.md +++ b/docs/book/src/quick-start.md @@ -53,19 +53,6 @@ Kubebuilder provides autocompletion support for Bash and Zsh via the command `ku Create a directory, and then run the init command inside of it to initialize a new project. Follows an example. - - ```bash mkdir -p ~/projects/guestbook cd ~/projects/guestbook diff --git a/hack/docs/internal/generate_component_config.go b/hack/docs/internal/generate_component_config.go index e0b72c179b0..42c670f1c70 100644 --- a/hack/docs/internal/generate_component_config.go +++ b/hack/docs/internal/generate_component_config.go @@ -73,6 +73,7 @@ func (sp *Sample) GenerateSampleProject() { "--license", "apache2", "--owner", "The Kubernetes authors", "--component-config", + "--plugins=go/v3", ) CheckError("Initializing the project", err)