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: #4082This 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)
- ✨ Add Network Policy by @camilamacedo86 in #3853
- 📖 Fix generation of markers based on controller-tools by @marlapativ in #4045
- 📖 Add crd-scope and operator-scope documentation by @camilamacedo86 in #4035
- 🌱 Bump github.com/onsi/ginkgo/v2 from 2.19.0 to 2.19.1 by @dependabot in #4052
- 🌱 Bump github.com/onsi/gomega from 1.33.1 to 1.34.1 by @dependabot in #4053
- 📖 Fix typo in designs template by @gabriele-wolfox in #4056
- ⚠️ (cleanup/fix): ImplementWebhooks method should only be used by the e2e tests and should be under its package by @camilamacedo86 in #4065
- 🌱 (cleanup): cleanup tests for plugin/util functions by @camilamacedo86 in #4066
- 🌱 pkg/plugin/utils: add tests to cover funcs by @camilamacedo86 in #4068
- 🐛 (go/v4): add missing cancel context to controller's suite-test by @camilamacedo86 in #4067
- 📖 Upgrade the muilt-version sample to the latest by @camilamacedo86 in #4069
- 🌱 Bump github.com/onsi/ginkgo/v2 from 2.19.1 to 2.20.0 by @dependabot in #4071
- 📖 docs:samples:cronjob: change makefile to generate the CRD without description to allow apply CRDs by @camilamacedo86 in #4075
- 🌱 Cleanup hack generate docs by removing code duplication by @camilamacedo86 in #4076
- ✨ Add support to k8s 1.31 and upgrade dependencies by @camilamacedo86 in #4080
- 📖 : Upgrade controller-gen used to generate the docs from 0.15.0 to 0.16.1 by @camilamacedo86 in #4081
- 📖 (cleanup and enhance) improve and make clear info about setup envtest and its binaries and that old location is deprecated by @camilamacedo86 in #4083
- ✨ upgrade kustomize from v5.4.2 to v5.4.3 by @camilamacedo86 in #4084
New Contributors
- @marlapativ made their first contribution in #4045
- @gabriele-wolfox made their first contribution in #4056
Full Changelog: v4.1.1...v4.2.0