github kubernetes-sigs/kubebuilder v4.2.0

latest release: v4.3.0
2 months ago

changes since v4.1.1

⚠️ Important Notice:

The artefacts for ENVTEST from k8s 1.31 are exclusively available at: Controller Tools Releases. Kubebuilder no longer builds and promote the ENVTEST artefacts at the old location https://storage.googleapis.com/kubebuilder-tools which is deprecated and can no longer be ensured by Kubebuilder maintainers. You should ensure that your projects are using the new location. For further information, see: #4082

This update is fully transparent for Kubebuilder users assuming that they properly update their scaffolds to use setup-envtest from controller-runtime branch release-0.19.

# To know the available versions check: 
# - https://github.com/kubernetes-sigs/controller-tools/blob/main/envtest-releases.yaml
ENVTEST_K8S_VERSION = 1.31.0
# Controller-Runtime branch `release-0.19` has the implementation of the setup-envtest's code responsible
# for downloading the tarball from the correct location.
ENVTEST_VERSION ?= release-0.19

...
.PHONY: envtest
envtest: $(ENVTEST) ## Download setup-envtest locally if necessary.
$(ENVTEST): $(LOCALBIN)
	$(call go-install-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest,$(ENVTEST_VERSION))

✨ New Features

  • (go/v4, kustomize/v2): Add support to protect project with network policies (#3853)
  • (go/v4): Add support to k8s 1.31 (#4080)
  • (go/v4): Upgrading controller-runtime from v0.18.4 to v0.19.0 (#4080)
  • (go/v4): Upgrading controller-tools from v0.15.0 to v0.16.1 (#4080)
  • (go/v4, kustomize/v2): Upgrade kustomize from v5.4.2 to v5.4.3 (#4084)

🐛 Bug Fixes

  • (go/v4): Add missing cancel context to controller's suite-test (#4067)
  • ⚠️ (Only relevant for users of Kubebuilder as a library): ImplementWebhooks should only be used by the e2e tests and should be under its package. Therefore, this method is no longer served under pkg/plugin/util (#4065)

What's Changed (Full Changelog)

New Contributors

Full Changelog: v4.1.1...v4.2.0

Don't miss a new kubebuilder release

NewReleases is sending notifications on new releases.