"Kubebuilder 2.x"
provided via go/v2
plugin is deprecated
Since 28 Apr 2021, the default layout produced by Kubebuilder changed and is done via the go/v3
.
Only affects who has been scaffolding the projects with --plugins=go/v2
or built the project with Kubebuider 2.x
and did not migrate their project for Kubebuilder 3.x
(go/v3
).
The go/v2
plugin cannot scaffold projects which use CRDs and/or Webhooks v1 API version. The go/v2
plugin produces scaffolds with the v1beta1 API version for CRDs and Webhooks which was deprecated in Kubernetes 1.16
and removed in 1.22
.
Note that this plugin was kept to ensure backwards compatibility with projects that were scaffolded with the old "Kubebuilder 2.x"
layout and does not properly work with the new plugin ecosystem that was introduced with Kubebuilder 3.0.0
More info.
We encourage you to migrate your project. For further information check the Migration guide.
๐ก You can check samples using this plugin by looking at the
project-v2
directory under the testdata on the root directory of the Kubebuilder project and compare with theproject-v3
to check the changes.
Notes:
โ ๏ธ The flags
--crd-version
and--webhook-version
provided viago/v3
plugin (default scaffold) are deprecated since kubebuilder release v3.3.0. #2340.We do not encourage you to use these options since projects produced with CRD/Webhooks v1beta1 version cannot work on Kubernetes clusters >=
1.22
and by using the API v1 (default scaffold when the flags are not used) you can produce projects which can work on K8s clusters >=1.16
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4