v4.1.0
changes since v4.0.0
✨ New Features
- Re-introduces authn/authz protection for the metrics endpoint using
WithAuthenticationAndAuthorization
provided by controller-runtime. (#4003)
This protection is similar to what was previously done via
kube-rbac-proxy
, which usage was discontinued in the project. Please, ensure that you no longer use the imagegcr.io/kubebuilder/kube-rbac-proxy
.⚠️ Images provided undergcr.io/kubebuilder/
will be unavailable from March 18, 2025.
- Upgrade controller-runtime from v0.18.2 to v0.18.4 (#3957) (#3972)
- Add revive golangci linter with comment-spacings rule (#3960)
- (Only relevant for users of Kubebuilder as a library) Allow usage of custom marker names (#3993)
🐛 Bug Fixes
- Corrected the
generate
command to respect the--namespaced=false
flag for APIs. (#3970)
🎉 Thanks to all our contributors!
What's Changed (Full Changelog)
- ✨ Upgrade controller-runtime from v0.18.2 to v0.18.3 - k8s version from 1.30.0 to 1.30.1 by @camilamacedo86 in #3957
- 🌱 Cleanup e2e tests for deploy image by @camilamacedo86 in #3959
- ✨ Add revive golangci linter with comment-spacings rule by @mateusoliveira43 in #3960
- 🌱 cleanup: run-test-e2e-for-project-v4-sample workflow by remove unnecessary steps by @camilamacedo86 in #3961
- 🌱 cleanup e2e tests for go/v4 by @camilamacedo86 in #3958
- 📖 Update CONTRIBUTING.md - Add steps about how to debug e2e tests locally by @camilamacedo86 in #3962
- 🌱 Bump github.com/onsi/ginkgo/v2 from 2.17.3 to 2.19.0 by @dependabot in #3963
- 🌱 Bump sigs.k8s.io/kubebuilder/v3 from 3.15.0 to 3.15.1 in /docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1 by @dependabot in #3965
- 📖 fix: documentation links by @mateusoliveira43 in #3967
- 🐛 fix generate command not respecting --namespaced=false of APIs by @antonincms in #3970
- ✨ Upgrade controller-runtime from v0.18.3 to v0.18.4 by @camilamacedo86 in #3972
- 📖 fix error in documentation Watching Externally Managed Resources by @Uburro in #3973
- 🌱 Bump golang.org/x/tools from 0.21.0 to 0.22.0 by @dependabot in #3975
- 🌱 Bump goreleaser/goreleaser-action from 5 to 6 by @dependabot in #3977
- 📖 fix: book v3 link by @mateusoliveira43 in #3978
- 📖 Adding lost v2 vs v3 page. by @Tomlmmrs in #3983
- 🌱 ci: fix testdata due golang module changes by @camilamacedo86 in #3985
- 🌱 Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 by @dependabot in #3987
- 📖 Fix typo in plugins.md by @dudo in #3994
- 📖 Update using_an_external_type.md by @davidxia in #3997
- 📖 Update using_an_external_type.md by @davidxia in #3998
- ✨ (Only valid for those who consume Kubebuilder as a lib) - Allow usage of custom marker names by @beatrausch in #3993
- 📖 docs: clarify English prose in CONTRIBUTING.md by @davidxia in #4002
- 📖 Update quick-start.md by @Hrugved in #4001
- ✨ Add protection to metrics endpoint using authn/authz via controller-runtime feature by @joelanford and @camilamacedo86 in #4003
New Contributors
- @Uburro made their first contribution in #3973
- @Tomlmmrs made their first contribution in #3983
- @dudo made their first contribution in #3994
- @beatrausch made their first contribution in #3993
- @Hrugved made their first contribution in #4001
Full Changelog: v4.0.0...v4.1.0