-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Following the draft for the upcoming release, we kindly ask for community feedback before we proceed.
Please let us know if you have any suggestions, changes, or improvements that should be addressed prior to the release.
ποΈ ETA: We are planning to start the release process from Monday, November 10th.
π How to Keep Your Scaffold Up to Date
π‘ Enable AutoUpdate to automatically open an Issue and a prepared PR with scaffold changes:
kubebuilder edit --plugins="autoupdate.kubebuilder.io/v1-alpha".
You can also update manually at any time using kubebuilder alpha update.Note: Projects created before v4.5.0 may need a one-time manual upgrade. Recreating the project with the latest version and re-applying your custom code provides a clean base. Projects from v4.6.0+ include
cliVersionin the PROJECT file, so updates that preserve your custom code just work going forward.
β οΈ Deprecation Notice: helm/v1-alpha β helm/v2-alpha
β¨ The new helm/v2-alpha plugin replaces the deprecated helm/v1-alpha and brings major improvements in flexibility and maintainability, championing changes driven by community feedback.
Chart values are now better exposed, enabling easier customisation and addressing long-standing issues by consuming the kustomize-generated bundle from make build-installer instead of relying on fixed templates for chart generation.
β¨ New features
- (go/v4): Enable multi-architecture support in GitHub Actions and devcontainer scripts by dynamically detecting
GOARCH. #5142 - (go/v4): Allow
ENV TESTversion to be derived fromreplaces. #5096 - (go/v4): Add support for custom webhook paths. #5171
- (go/v4): Add
*.kubeconfigto.gitignore. #5111 - (go/v4): Allow informing Go modules for external APIs when pinning a downgraded version is required. #5194
- (helm/v2-alpha): Introduce the new
helm/v2-alphaplugin.
(#5058, #5172, #5119, #5147, #5173, #5174) - (External Plugins API): Add
PluginChainfield to the external plugin API. #5161 - (External Plugins API): Expose
ProjectConfigto external plugins. #5165
β¨ Upgrades
- (go/v4): Upgrade golangci-lint from
v2.4.0βv2.5.0. #5128 - (go/v4): Upgrade controller-runtime from
v0.22.1βv0.22.4. (#5129, #5178) - (go/v4): Upgrade cert-manager used in e2e tests from
v1.18.2βv1.19.1. (#5133, #5136) - (go/v4): Upgrade Golang version from
1.24β1.24.6. #5186
π Bug fixes
- (go/v4): Fix project scaffolding failure when directories contain spaces by quoting Makefile variables. #5139
- (go/v4): Simplify init directory validation to only block Kubebuilder-specific files. #5154
- (External Plugins API): Fix plugin configuration tracking when wrapped in bundles with custom domains. #5166
π Thanks to all contributors!
What's Changed
- β¨ Add helm/v2-alpha addressing all feedbacks and aiming maintainability. Deprecated helm/v1-alpha in favor of helm/v2-alpha by @camilamacedo86 in β¨ Add helm/v2-alpha addressing all feedbacks and aiming maintainability. Deprecated helm/v1-alpha in favor of helm/v2-alphaΒ #5058
- π Tidy up completion.md by @abenn135 in π Tidy up completion.mdΒ #5103
- π± Bump k8s.io/apimachinery from 0.34.0 to 0.34.1 by @dependabot[bot] in π± Bump k8s.io/apimachinery from 0.34.0 to 0.34.1Β #5108
- π Bump sigs.k8s.io/kubebuilder/v4 from 4.8.0 to 4.9.0 in /docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1 by @dependabot[bot] in π Bump sigs.k8s.io/kubebuilder/v4 from 4.8.0 to 4.9.0 in /docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1Β #5109
- π± chore: enforce internal package import aliases by @bavarianbidi in π± chore: enforce internal package import aliasesΒ #5110
- π : Update CronJob and Multiversion tutorials to use Status Conditions by @nerdeveloper in π : Update CronJob and Multiversion tutorials to use Status ConditionsΒ #5087
- π Quickstart: Add note about editing the resource by @guettli in π Quickstart: Add note about editing the resourceΒ #5112
- β¨: Add *.kubeconfig to .gitignore. by @guettli in β¨: Add *.kubeconfig to .gitignore.Β #5111
- π± Bump github.com/onsi/ginkgo/v2 from 2.25.3 to 2.26.0 by @dependabot[bot] in π± Bump github.com/onsi/ginkgo/v2 from 2.25.3 to 2.26.0Β #5115
- π± Ensure fixed version for certmanager in testdata samples by @camilamacedo86 in π± Ensure fixed version for certmanager in testdata samplesΒ #5127
- π± Bump golang.org/x/mod from 0.28.0 to 0.29.0 by @dependabot[bot] in π± Bump golang.org/x/mod from 0.28.0 to 0.29.0Β #5123
- β¨ (go/v4) Upgrade to use golang-lint v2.5.0 by @camilamacedo86 in β¨ (go/v4) Upgrade to use golang-lint v2.5.0Β #5128
- π± Bump golang.org/x/text from 0.29.0 to 0.30.0 by @dependabot[bot] in π± Bump golang.org/x/text from 0.29.0 to 0.30.0Β #5122
- π± Bump golang.org/x/tools from 0.37.0 to 0.38.0 by @dependabot[bot] in π± Bump golang.org/x/tools from 0.37.0 to 0.38.0Β #5125
- β¨ Upgrade controller-runtime from v0.22.1 to v0.22.3 by @camilamacedo86 in β¨ Upgrade controller-runtime from v0.22.1 to v0.22.3Β #5129
- π± Bump github/codeql-action from 3 to 4 by @dependabot[bot] in π± Bump github/codeql-action from 3 to 4Β #5120
- π± Bump actions/setup-node from 5 to 6 by @dependabot[bot] in π± Bump actions/setup-node from 5 to 6Β #5131
- π± Upgrade golang-ci lint in the github actions by @camilamacedo86 in π± Upgrade golang-ci lint in the github actionsΒ #5132
- β¨ (go/v4) Upgrade golang version from go 1.24 to 1.25 by @camilamacedo86 in β¨ (go/v4) Upgrade golang version from go 1.24 to 1.25Β #5130
- β¨ (go/v4): Upgrade for e2e tests the cert-manager version used from v1.18.2 to v1.19.0 by @camilamacedo86 in β¨ (go/v4): Upgrade for e2e tests the cert-manager version used from v1.18.2 to v1.19.0Β #5133
- β¨ (go/v4): Upgrade cert-manager version used on the tests from v1.19.0 to v1.19.1 by @camilamacedo86 in β¨ (go/v4): Upgrade cert-manager version used on the tests from v1.19.0 to v1.19.1Β #5136
- π (go/v4): Fix an issue where project scaffolding failed when directories contained spaces by quoting Makefile variables by @mayuka-c in π (go/v4): Fix an issue where project scaffolding failed when directories contained spaces by quoting Makefile variablesΒ #5139
- β¨ (go/v4): Allow
ENV TESTversion to be derived fromreplacesby @Shubhamag12 in β¨ (go/v4): AllowENV TESTversion to be derived fromreplacesΒ #5096 - β¨ (go/v4) Enable multi-architecture support in GitHub Actions and devcontainer scripts by dynamically detecting GOARCH by @gjrtimmer in β¨ (go/v4) Enable multi-architecture support in GitHub Actions and devcontainer scripts by dynamically detecting GOARCHΒ #5142
- π± Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in π± Bump actions/upload-artifact from 4 to 5Β #5145
- π± Bump github.com/onsi/ginkgo/v2 from 2.26.0 to 2.27.1 by @dependabot[bot] in π± Bump github.com/onsi/ginkgo/v2 from 2.26.0 to 2.27.1Β #5140
- π± Bump github.com/onsi/ginkgo/v2 from 2.27.1 to 2.27.2 by @dependabot[bot] in π± Bump github.com/onsi/ginkgo/v2 from 2.27.1 to 2.27.2Β #5150
- π (helm/v2-alpha): Fixed an issue where the
ServiceMonitorresource name did not include the default prefix applied by Kustomize. by @liam-mackie in π (helm/v2-alpha): Fixed an issue where theServiceMonitorresource name did not include the default prefix applied by Kustomize. Β #5119 - π (helm/v2alpha): allow manager values to be customized properly by @camilamacedo86 in π (helm/v2alpha): allow manager values to be customized properlyΒ #5147
- π Update Readme - Remove Warning Note by @camilamacedo86 in π Update Readme - Remove Warning NoteΒ #5153
- π± Add k8s 1.34 version set for tooling - prow tests by @camilamacedo86 in π± Add k8s 1.34 version set for tooling - prow testsΒ #5146
- π± Add Agents.MD with an alias for .github/.instructions.md to support AI tools by @camilamacedo86 in π± Add Agents.MD with an alias for .github/.instructions.md to support AI toolsΒ #5152
- π (multiversion-tutorial): Show v2 webhook implementation alongside v1 by @Copilot in π (multiversion-tutorial): Show v2 webhook implementation alongside v1Β #5159
- π± Update test environment to Kubernetes 1.34 to match scaffolded projects by @Copilot in π± Update test environment to Kubernetes 1.34 to match scaffolded projectsΒ #5157
- β¨ (External Plugins API) Add PluginChain field to external plugin API by @Copilot in β¨ (External Plugins API) Add PluginChain field to external plugin APIΒ #5161
- π add e2e test to validate webhook conversion between versions in the tutorials by @wazery in π add e2e test to validate webhook conversion between versions in the tutorialsΒ #5069
- π± fix lint issue for expected dupl interface implementation by @camilamacedo86 in π± fix lint issue for expected dupl interface implementationΒ #5167
- π (docs): Update CONTRIBUTING.md guidance to remove gost emoji since it is never used by @camilamacedo86 in π (docs): Update CONTRIBUTING.md guidance to remove gost emoji since it is never usedΒ #5168
- π± Increase unit test coverage by @camilamacedo86 in π± Increase unit test coverageΒ #5169
- π (helm/v2-alpha): ensure that certmanager option is exposed always by @camilamacedo86 in π (helm/v2-alpha): ensure that certmanager option is exposed alwaysΒ #5173
- π (helm/v2alpha) Use manager instead of controllerManager to expose manager values by @camilamacedo86 in π (helm/v2alpha) Use manager instead of controllerManager to expose manager valuesΒ #5174
- β¨ (feat): Expose ProjectConfig to external plugins by @camilamacedo86 in β¨ (feat): Expose ProjectConfig to external pluginsΒ #5165
- β¨ (helm/v2-alpha): Make webhook and metrics ports configurable by @camilamacedo86 in β¨ (helm/v2-alpha): Make webhook and metrics ports configurableΒ #5172
- π± (CLI) Add unit tests for cli alpha generate.go by @mayuka-c in π± (CLI) Add unit tests for cli alpha generate.goΒ #5074
- π± Fix make test-e2e-local to run on mac and linux by @camilamacedo86 in π± Fix make test-e2e-local to run on mac and linuxΒ #5170
- π (fix): Fix plugin configuration tracking when wrapped in bundles with custom domains by @camilamacedo86 in π (fix): Fix plugin configuration tracking when wrapped in bundles with custom domainsΒ #5166
- β¨ Upgrade controller-runtime from 0.22.3 to 0.22.4 by @camilamacedo86 in β¨ Upgrade controller-runtime from 0.22.3 to 0.22.4Β #5178
- β¨ Add support for custom webhook paths by @camilamacedo86 in β¨ Add support for custom webhook pathsΒ #5171
- π (book): Update note about Windows support by @vitorfloriano in π (book): Update note about Windows supportΒ #5179
- π : fix(docs): display copy button on codeblocks by @vitorfloriano in π : fix(docs): display copy button on codeblocksΒ #5184
- π± chore: Move to maintained yaml library by @mrueg in π± chore: Move to maintained yaml libraryΒ #5182
- π± (ci): Fix testdata generation by @camilamacedo86 in π± (ci): Fix testdata generationΒ #5185
- π (docs/ui): better format for warnings by @vitorfloriano in π (docs/ui): better format for warningsΒ #5188
- π± Bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in π± Bump golangci/golangci-lint-action from 8 to 9Β #5189
- π Improve AGENTS.md by @camilamacedo86 in π Improve AGENTS.mdΒ #5195
- β¨ (go/v4): Allow informing Go module for external APIs when pinning a downgraded version is required by @camilamacedo86 in β¨ (go/v4): Allow informing Go module for external APIs when pinning a downgraded version is requiredΒ #5194
- π Downgrade Go to 1.24.6 and standardize version across codebase by @camilamacedo86 in π Downgrade Go to 1.24.6 and standardize version across codebaseΒ #5186
- π± Bump golang.org/x/mod from 0.29.0 to 0.30.0 by @dependabot[bot] in π± Bump golang.org/x/mod from 0.29.0 to 0.30.0Β #5191
- π± (alpha): Remove redundant alpha generate e2e tests by @camilamacedo86 in π± (alpha): Remove redundant alpha generate e2e testsΒ #5196
- π± Bump golang.org/x/text from 0.30.0 to 0.31.0 by @dependabot[bot] in π± Bump golang.org/x/text from 0.30.0 to 0.31.0Β #5192
- π± Bump helm.sh/helm/v3 from 3.19.0 to 3.19.1 by @dependabot[bot] in π± Bump helm.sh/helm/v3 from 3.19.0 to 3.19.1Β #5193
- π± (grafana): Relocate scaffold tests to grafana directory and increase test coverage by @camilamacedo86 in π± (grafana): Relocate scaffold tests to grafana directory and increase test coverageΒ #5197
- π± Bump k8s.io/apimachinery from 0.34.1 to 0.34.2 by @dependabot[bot] in π± Bump k8s.io/apimachinery from 0.34.1 to 0.34.2Β #5198
- π± Fix test-coverage to include only directories where are covered by @camilamacedo86 in π± Fix test-coverage to include only directories where are coveredΒ #5199
- π (go/v4): Simplify init directory validation to only block kubebuilder files by @camilamacedo86 in π (go/v4): Simplify init directory validation to only block kubebuilder filesΒ #5154
- π± Reorganise tests: separate unit and integration tests with build tags by @camilamacedo86 in π± Reorganise tests: separate unit and integration tests with build tagsΒ #5200
New Contributors
- @abenn135 made their first contribution in π Tidy up completion.mdΒ #5103
- @gjrtimmer made their first contribution in β¨ (go/v4) Enable multi-architecture support in GitHub Actions and devcontainer scripts by dynamically detecting GOARCHΒ #5142
- @liam-mackie made their first contribution in π (helm/v2-alpha): Fixed an issue where the
ServiceMonitorresource name did not include the default prefix applied by Kustomize. Β #5119 - @mrueg made their first contribution in π± chore: Move to maintained yaml libraryΒ #5182
Full Changelog: v4.9.0...v4.10.0