kubebuilder
kubebuilder copied to clipboard
Kubebuilder - SDK for building Kubernetes APIs using CRDs
Fixes #3016 In the doc of xxx_types.go, the comment said: ``` Important: Run "make" to regenerate code after modifying this file ``` But after the spec and status struct modified,...
Fixes #3016 On generated code main.go L57, just set leader-election to `true`: ``` flag.BoolVar(&enableLeaderElection, "leader-elect", true, ... ``` Then `make run` will got error: ``` go run ./main.go 1.665666448465308e+09 ERROR...
### What do you want to happen? **Description:** We should add a GitHub Action to run lint checks against the YAML files that are generated as part of scaffolding out...
### What broke? What's expected? Using the latest kubebuilder cli, quick start a new project based on the [official document](https://book.kubebuilder.io/quick-start.html), got these errors: 1. Enable the leader-election, then `make run`,...
### What broke? What's expected? Using the latest kubebuilder cli, quick start a new project based on the [official document](https://book.kubebuilder.io/quick-start.html). After `make deploy IMG=xxx/xxx:tag`, the controller-pod log time is just...
:sparkles: Add new Golang base for go/v4-alpha with changes requested by the community in the layout
## Description - Add a new golang language base plugin (base.go/v4) - Change the go/v4-alpha plugin to use the new base - Address the layout changes requirements for go/v4. Now,...
### Description Add a section in `create-plugin` to provide references for users who create the plugin to scaffold on top of what `create api` brings. ### Motivation Resolve: https://github.com/kubernetes-sigs/kubebuilder/issues/2874
add Component Config flag in Textcontext The `--component-config` flag is enabled and we need this flag as part of `testcontext` so that we can use it for verification purposes.
Closes #2068 Relevant [discussion](https://github.com/kubernetes-sigs/kubebuilder/discussions/2864) ## Description Add tooling to help migrate existing projects to newer versions of scaffolding.
## Description docs updates and migration guide from go/v3 to go/v4-alpha ## Motivation Have a doc that clarifies the steps to migrate to the latest version Blocked by : https://github.com/kubernetes-sigs/kubebuilder/pull/2985...