Black lives matter.

We stand in solidarity with the Black community.

Racism is unacceptable.

It conflicts with the core values of the Kubernetes project and our community does not tolerate it.

[Deprecated] go/v2 (go.kubebuilder.io/v2 - “Kubebuilder 2.x” layout)

The go/v2 plugin has the purpose to scaffold Golang projects to help users to build projects with controllers and keep the backwards compatibility with the default scaffold made using Kubebuilder CLI 2.x.z releases.

When should I use this plugin ?

Only if you are looking to scaffold a project with the legacy layout. Otherwise, it is recommended you to use the default Golang version plugin.

How to use it ?

To initialize a Golang project using the legacy layout and with this plugin run, e.g.:

kubebuilder init --domain tutorial.kubebuilder.io --repo tutorial.kubebuilder.io/project --plugins=go/v2

Subcommands supported by the plugin ?

  • Init - kubebuilder init [OPTIONS]
  • Edit - kubebuilder edit [OPTIONS]
  • Create API - kubebuilder create api [OPTIONS]
  • Create Webhook - kubebuilder create webhook [OPTIONS]

Further resources