From dccd791e31b6dfd67a66f68da0a36a5ee34ef5d6 Mon Sep 17 00:00:00 2001 From: Camila Macedo Date: Mon, 20 Feb 2023 23:00:33 +0000 Subject: [PATCH 1/3] :warning: deprecate go/v3 --- docs/book/src/plugins/go-v3-plugin.md | 17 +++++++++++++++-- pkg/plugins/golang/v4/plugin.go | 7 +++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/docs/book/src/plugins/go-v3-plugin.md b/docs/book/src/plugins/go-v3-plugin.md index 54e9da430f5..21613773f7f 100644 --- a/docs/book/src/plugins/go-v3-plugin.md +++ b/docs/book/src/plugins/go-v3-plugin.md @@ -1,4 +1,16 @@ -# go/v3 (go.kubebuilder.io/v3) +# [Deprecated] go/v3 (go.kubebuilder.io/v3) + + + Kubebuilder tool will scaffold the go/v3 plugin by default. This plugin is a composition of the plugins ` kustomize.common.kubebuilder.io/v1` and `base.go.kubebuilder.io/v3`. By using you can scaffold the default project which is a helper to construct sets of [controllers][controller-runtime]. @@ -23,8 +35,9 @@ As `go/v3` is the default plugin there is no need to explicitly mention to Kubeb To create a new project with the `go/v3` plugin the following command can be used: ```sh -kubebuilder init --domain tutorial.kubebuilder.io --repo tutorial.kubebuilder.io/project +kubebuilder init --plugins=`go/v3` --domain tutorial.kubebuilder.io --repo tutorial.kubebuilder.io/project ``` + All the other subcommands supported by the go/v3 plugin can be executed similarly.