📢 Legacy layout "Kubebuilder 2.x"
provided via go/v2
plugin is deprecated
#2842
Closed
camilamacedo86
announced in
Announcements
Replies: 1 comment
-
Closing since it was deprecated a long time ago and the goal was to communicate. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
📢 Deprecations
Legacy layout
"Kubebuilder 2.x"
provided viago/v2
plugin is deprecatedSince 28 Apr 2021, the default layout produced by Kubebuilder changed and is done via the
go/v3
.💁♀️ Who is affected?
Only affects who has been scaffolding the projects with
--plugins=go/v2
or built the project with Kubebuider2.x
and did not migrate their project for Kubebuilder3.x
(go/v3
).🙋 Why this deprecation is required?
The
go/v2
plugin cannot scaffold projects which use CRDs and/or Webhooks v1 API version. Thego/v2
plugin produces scaffolds with the v1beta1 API version for CRDs and Webhooks which was deprecated in Kubernetes1.16
and removed in1.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 Kubebuilder3.0.0
More info.🚀 What is recommended?
We encourage you to migrate your project. For further information check the Migration guide.
Notes:
Beta Was this translation helpful? Give feedback.
All reactions