Closed
Description
What do you want to happen?
Following the draft of the release notes for the next release (based on what has been done so far), however, see in the following comments that we have some release blockers that must be accomplished before we do the next v4.4.0
changes since v4.3.1
✨ New Features
- (kustomize/v2): Kubebuilder scaffolds rules under
config/rbac
to help cluster admins manage the permissions for their solutions. The comments and explanations added to these scaffolds have been improved. Furthermore, it now includes admin-specific rules to make it easier for cluster admins to work with features like aggregation (e.g.,rbac.authorization.k8s.io/aggregate-to-admin
). More info. (#4299) - (go/v4): Added configurations for securing Metrics Server and Prometheus integration using TLS and certificates managed by CertManager, enabling users to align their solutions with best practices, enhance security, and achieve production readiness. (#4243, #4312, #4400)
- (go/v4): Added webhook CertWatcher and flags for custom certificate configuration #4429)
- (go/v4): Ensures that the manager container adheres to Restricted Pod Security Standards and can operate in namespaces labelled for restricted policies, following best practices. (#4251).
- (go/v4): Ensure that e2e test scaffolds will validate that the enforcement is prepared to ensure that all can run as restricted. See that the curl pod to use the metrics was updated and changed (#4435)
- (go/v4): Improved developer experience and maintainability by updating actions and the Makefile to utilize
go.mod
for Go version management and automating ENVTEST versioning by retrieving the version directly fromgo.mod
, based on thecontroller-runtime
dependency in use. (#4385) (#4401) - (helm/v1-alpha): Introduced the new
helm.kubebuilder.io/v1-alpha
plugin to enable users to distribute solutions using Helm Charts. Example scaffolds are available under testdata/project-v4-with-plugins/dist/chart. For further information see its documentation. (#4227, #4315, #4350, #4351, #4356, #4357, #4371, #4377, #4383, #4380, #4373, #4386, #4375, #4388, #4406, #4399, #4419,#4451). IMPORTANT: Thehelm.kubebuilder.io/v1-alpha
is an experimental initial version, and further changes and improvements will be addressed in future releases. - (go/v4): Added Hub and Spoke support for conversion webhooks. Developers can now scaffold webhooks for resource conversion more easily. (#4254) Example:
# Create API to test conversion from v1 to v2 $ kubebuilder create api --group crew --version v1 --kind FirstMate --controller=true --resource=true --make=false $ kubebuilder create api --group crew --version v2 --kind FirstMate --controller=false --resource=true --make=false $ kubebuilder create webhook --group crew --version v1 --kind FirstMate --conversion --make=false --spoke v2
- (go/v4,kustomize/v2): Add
app.kubernetes.io/name
label to allow more precise configurations (#4437) - (go/v4): Standardize the webhook and controller test suites (#4447)
- (go/v4): Upgrade golangci-lint from v1.61.0 to v1.62.2 (#4448)
- (go/v4): Add support for go 1.23 (#4446)
- (go/v4): Upgraded
controller-gen
fromv0.16.4
tov0.17.0
. (#4254, #4457) - (go/v4): Add new makefile target to check and validate the linter config (#4462)
- (go/v4): Upgrade controller-runtime v0.19.1 to v0.19.4 (#4482)
🐛 Bug Fixes
- (go/v4): Fixed an issue where GitHub Actions workflows were overwritten by commands, ensuring users can now customize workflows freely without their changes being overridden. (#4379)
- (go/v4): Resolved linting issues in generated scaffolds. (#4384)
- (kustomize/v2, go/v4): Fixed CA injection for conversion webhooks. Previously, the CA injection patch was not accurate; The injection should occur only for CRDs, which are conversion types and not for all CRDs when a webhook with
--conversion
option is scaffolded. The issues go back to release 3.5.0 (we need to replace vars for replacements in the new customize/v2 plugin when it was introduced as alpha). It was not previously found, likely because conversion webhook features were incomplete. (#4282) - (go/v4): Ensure that schemas are added before starting EnvTest-based suite tests for webhooks and controllers (#4466)
- (go/v4): e2e-tests: cleanup by removing calls to call make generate and manifests (#4471)
What's Changed
- ✨ Adds a patch to configure ServiceMonitor to ensure TLS verification using cert-manager certificates by @camilamacedo86 in ✨ Adds a patch to configure ServiceMonitor with to ensure TLS verification using cert-manager certificates #4243
- ✨ Include admin ClusterRole and add it to the scaffold by @damsien in ✨ Include admin ClusterRole and add it to the scaffold #4299
- ✨ (go/v4): Enable
seccompProfile.type: RuntimeDefault
by default in scaffolded projects by @camilamacedo86 in ✨ (go/v4): EnableseccompProfile.type: RuntimeDefault
by default in scaffolded projects #4251 - ✨ Add helm plugin to distribute projects by @camilamacedo86 in ✨ Add helm plugin to distribute projects #4227
- 📖 Proposal: New Plugin to allow project distribution via helm charts by @dashanji in 📖 Proposal : New Plugin to allow project distribution via helm charts #3632
- ✨ Follow-up to PR ✨ Adds a patch to configure ServiceMonitor with to ensure TLS verification using cert-manager certificates #4243: Limit permissions to access the metrics-server-cert secret by @camilamacedo86 in ✨ Follow-up to PR #4243: Limit permissions to access the metrics-server-cert secret #4312
- 📖 doc: update roadmap for 2024 by @camilamacedo86 in 📖 doc: update roadmap for 2024 #4313
- ✨ (helm/v1-alpha): add missed info to chart values by @camilamacedo86 in ✨ (helm/v1-alpha): add missed info to chart values #4315
- 📖 Update README.md - Fix typo by @monteiro-renato in 📖 Update README.md - Fix typo #4318
- 📖 Bump sigs.k8s.io/kubebuilder/v4 from 4.3.0 to 4.3.1 in /docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1 by @dependabot in 📖 Bump sigs.k8s.io/kubebuilder/v4 from 4.3.0 to 4.3.1 in /docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1 #4322
- 📖: Fix typo in CONTRIBUTING-ROLES.md by @monteiro-renato in 📖: Fix typo in CONTRIBUTING-ROLES.md #4324
- 📖 Fix readme wrong url your-own-plugin by @damsien in 📖 Fix readme wrong url your-own-plugin #4325
- 📖 doc: add .github/SECURITY.md with further information by @camilamacedo86 in 📖 doc: add .github/SECURITY.md with further information #4253
- 📖: update testdata reference by @emmanuel-ferdman in 📖: update testdata reference #4328
- 📖 : Fix typo in contributing roles by @damsien in 📖 : Fix typo in contributing roles #4329
- 🌱 : Fix
make remove-spaces
for GNU system by @damsien in 🌱 : Fixmake remove-spaces
for GNU system #4330 - 🌱 : Revert Fix
make remove-spaces
for GNU system" by @camilamacedo86 in 🌱 : Revert Fixmake remove-spaces
for GNU system" #4331 - ✨ Upgrade controller-gen from v0.16.4 to v0.16.5 by @camilamacedo86 in ✨ Upgrade controller-gen from v0.16.4 to v0.16.5 #4332
- 📖 Fix incorrect link address by @LJTian in 📖 Fix incorrect link address #4333
- 📖 Docs: removed typeDegradedMemcached and comment by @vtrenton in 📖 Docs: removed typeDegradedMemcached and comment #4335
- 📖 small fixes to extending_cli_features_and_plugins.md by @monteiro-renato in 📖 small fixes to extending_cli_features_and_plugins.md #4336
- 📖 Fix broken reference to project-file instead of project-file-config by @monteiro-renato in 📖 Fix broken reference to project-file instead of project-file-config #4337
- 📖 small fixes to extending_cli_features_and_plugins.md by @monteiro-renato in 📖 small fixes to extending_cli_features_and_plugins.md #4343
- 📖 fix : typo in README.md by @monteiro-renato in 📖 fix : typo in README.md #4349
- 📖 Fix: typo in external-plugins.md by @monteiro-renato in 📖 Fix: typo in external-plugins.md #4345
- 📖 small fixes to extending_cli_features_and_plugins.md by @monteiro-renato in 📖 small fixes to extending_cli_features_and_plugins.md #4338
- 📖 Fix: typo in external-plugins.md by @monteiro-renato in 📖 Fix: typo in external-plugins.md #4347
- 🐛 fix: (helm/v1-alpha): Remove extra space before the labels section by @monteiro-renato in 🐛 fix: (helm/v1-alpha): Remove extra space before the labels section #4350
- 🐛 fix: (helm/alpha-v1): Fix rendered value for app.kubernetes.io/name by @monteiro-renato in 🐛 fix: (helm/alpha-v1): Fix rendered value for app.kubernetes.io/name #4351
- 📖 Fix: missing url to plugin-utils in extending_cli_features_and_plug… by @monteiro-renato in 📖 Fix: missing url to plugin-utils in extending_cli_features_and_plug… #4340
- 📖 Fix: broken urls in testing-plugins.md by @monteiro-renato in 📖 Fix: broken urls in testing-plugins.md #4348
- 📖 update metrics documentation to bring more clarity by @camilamacedo86 in 📖 update metrics documentation to bring more clarity #4358
- 🌱 fix: run make generate to fix ci by @monteiro-renato in 🌱 fix: run make generate to fix ci #4353
- 📖 follow up of update metrics documentation to bring more clarity 📖 update metrics documentation to bring more clarity #4358 by @camilamacedo86 in 📖 follow up of update metrics documentation to bring more clarity #4358 #4359
- 📖 add notice to make bring awareness to the need to move away and no longer use old images provide via the registry by @camilamacedo86 in 📖 add notice to make bring awarness to the need to move away and no longer use old images provide via the registry #4363
- 📖 Readme: Make more clear notice about kube-rbac-proxy by @camilamacedo86 in 📖 Readme: Make more clear notice abour kube-rbac-proxy #4364
- 📖 Update README.md - Fix layout from notice by @camilamacedo86 in 📖 Update README.md - Fix layout from notice #4365
- 📖 nit - remove spaces by @camilamacedo86 in 📖 nit - remove spaces #4366
- 🌱 Bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0 by @dependabot in 🌱 Bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0 #4367
- 🌱 fix file.Template to machinery.Template in the comments by @monteiro-renato in 🌱 fix file.Template to machinery.Template in the comments #4339
- 🐛 fix: (helm/v1alpha1): add missing replicas field to the Deployment generated by @monteiro-renato in 🐛 fix: (helm/v1alpha1): add missing replicas field to the Deployment generated #4356
- 🐛 fix: (helm/v1alpha1) add missing name prefix and namespace to leader-election-role and leader-election-rolebinding by @monteiro-renato in 🐛 fix: (helm/v1alpha1) add missing name prefix and namespace to leader-election-role and leader-election-rolebinding #4357
- 🐛 fix: (helm/v1alpha1): env config should not be dependent on DeployImages by @monteiro-renato in 🐛 fix: (helm/v1alpha1): env config should not be dependent on DeployImages #4371
- 📖 Update discontinue_usage_of_kube_rbac_proxy.md - Typos/grammar fixes and use the right link for the new location of the images by @camilamacedo86 in 📖 Update discontinue_usage_of_kube_rbac_proxy.md - Typos/grammar fixes and use the right link for the new location of the images #4374
- 🌱 Make
make remove-spaces
compatible with GNU and MAC OS X system by @damsien in 🌱 Makemake remove-spaces
compatible with GNU and MAC OS X system #4354 - 📖 Fix broken plugin URL in getting-started.md by @pengqun in 📖 Fix broken plugin URL in getting-started.md #4372
- 🐛 (helm/v1alpha): fix the default value of the force flag by @camilamacedo86 in 🐛 (helm/v1alpha): fix default value of the force flag #4375
- 📖 Fix: broken url in extending_cli_features_and_plugins.md by @monteiro-renato in 📖 Fix: broken url in extending_cli_features_and_plugins.md #4341
- 📖 Fix: broken url in go-v4-plugin.md by @monteiro-renato in 📖 Fix: broken url in go-v4-plugin.md #4352
- 📖 Fix: broken URL in external-plugins.md by @monteiro-renato in 📖 Fix: broken url in external-plugins.md #4346
- ✨ (helm/v1alpha1): add GitHub action to make it easier to validate the chart generates by @camilamacedo86 in ✨ (helm/v1alpha1): add GitHub action to make easier validate the chart generate #4377
- 🐛 fix: ensure that GitHub actions are not overwritten by @camilamacedo86 in 🐛 fix: ensure that github actions are not overwritten #4379
- 📖 Fix: broken url in extending_cli_features_and_plugins.md by @monteiro-renato in 📖 Fix: broken url in extending_cli_features_and_plugins.md #4344
- 📖 remove duplicated entry [plugin-subc], [plugin-sub-command] is the one being used by @monteiro-renato in 📖 remove duplicated entry [plugin-subc], [plugin-sub-command] is the one being used #4342
- 🐛 : (go/v4) fixes based on golangci-lint run -v by @monteiro-renato in 🐛 : (go/v4) fixes based on golangci-lint run -v #4384
- 📖 Update roadmap_2024.md - Latest Status - Nov 2024 by @camilamacedo86 in 📖 Update roadmap_2024.md - Latest Status - Nov 2024 #4334
- 🐛 fix: (helm/v1alpha1): install the Prometheus-operator CRDs before installing a chart which configures a ServiceMonitor by @monteiro-renato in 🐛 fix: (helm/v1alpha1): install the prometheus-operator CRDs before installing a chart which configures a ServiceMonitor #4383
- ✨ feat: (helm/v1alpha1): Allow ServiceAccount annotations to be configurable by @monteiro-renato in ✨ feat: (helm/v1alpha1): Allow ServiceAccount annotations to be configurable #4380
- ✨ feat: (helm/v1alpha1): Allow extra pod labels to be configured by @monteiro-renato in ✨ feat: (helm/v1alpha1): Allow extra pod labels to be configured #4373
- ✨ (helm/v1alpha1): Add a step to render the chart in the GitHub Action by @monteiro-renato in ✨ (helm/v1alpha1): Add a step to render the chart in the GitHub Action #4386
- ✨ (go/v4): Update actions to use go.mod for Go version management by @camilamacedo86 in ✨ (go/v4): Update actions to use go.mod for Go version management #4385
- 🐛 fix: (helm/v1alpha1): Add missing prefixes in various k8s resources by @monteiro-renato in 🐛 fix: (helm/v1alpha1): Add missing prefixes in various k8s resources #4388
- 🌱 remove everettraven from reviewers by @everettraven in 🌱 remove everettraven from reviewers #4389
- 🌱 Bump github.com/onsi/gomega from 1.35.1 to 1.36.0 by @dependabot in 🌱 Bump github.com/onsi/gomega from 1.35.1 to 1.36.0 #4392
- 🌱 fix: centralize plugin key declaration by @mateusoliveira43 in 🌱 fix: centralize plugin key declaration #4390
- ✨ (go/v4): Add Hub and Spoke for conversion webhooks by @camilamacedo86 in ✨ (go/v4): Add Hub and Spoke for conversion webhooks #4254
- 🐛 fix: (helm/v1alpha1): Use the ServiceAccount name defined in the values.yaml by @wjiec in 🐛 fix: (helm/v1alpha1): Use the ServiceAccount name defined in the values.yaml #4406
- ✨ feat: Automate ENVTEST version from go.mod by @camilamacedo86 in ✨ feat: Automate ENVTEST version from go.mod #4401
- ✨ (deployimage/v1alpha1): Improve error handling and pointer usage for value setting in controller by @mateusoliveira43 in ✨ (deployimage/v1alpha1): Improve error handling and pointer usage for value setting in controller #4399
- 🌱 Bump golang.org/x/tools from 0.27.0 to 0.28.0 by @dependabot in 🌱 Bump golang.org/x/tools from 0.27.0 to 0.28.0 #4409
- 📖 doc: validating and parsing CRD fields by @mateusoliveira43 in 📖 doc: validating and parsing CRD fields #4396
- 📖 Update getting-started.md by @dsolerh in 📖 Update getting-started.md #4413
- ✨ (go/v4): add support to inject conversion webhook for the marker +kubebuilder:scaffold:e2e-webhooks-checks by @mateusoliveira43 in ✨ (go/v4): add support to inject conversion webhook for the marker +kubebuilder:scaffold:e2e-webhooks-checks #4407
- 📖 [ISSUE-4414] Fix typo in getting-started.md by @jameskim0987 in 📖 [ISSUE-4414] Fix typo in getting-started.md #4415
- 🐛 (kustomize/v2, go/v4): Fix ca injection for conversion webhooks by @camilamacedo86 in 🐛 (kustomize/v2, go/v4): Fix ca injection for conversion webhooks #4282
- 📖 [ISSUE-4417] Fix minor hyperlink formatting in
emptymain.go
by @jameskim0987 in 📖 [ISSUE-4417] Fix minor hyperlink formatting inemptymain.go
#4418 - 🐛 fix: (helm/v1alpha1): remove redundant condition in if clause by @monteiro-renato in 🐛 fix: (helm/v1alpha1): remove redundant condition in if clause #4419
- 🌱 Bump github.com/onsi/gomega from 1.36.0 to 1.36.1 by @dependabot in 🌱 Bump github.com/onsi/gomega from 1.36.0 to 1.36.1 #4421
- 🌱Build the kubebuilder binary before and use it to regenerate the helm chart by @monteiro-renato in 🌱Build the kubebuilder binary before and use it to regenerate the helm chart #4420
- ✨ feat: add webhook CertWatcher and flags for custom certificate configuration by @camilamacedo86 in ✨ feat: add webhook CertWatcher and flags for custom certificate configuration #4429
- ✨ (go/v4): feat/fix: enhance cert-manager integration for metrics endpoints (follow-up to PR ✨ Adds a patch to configure ServiceMonitor with to ensure TLS verification using cert-manager certificates #4243) by @camilamacedo86 in ✨ (go/v4): feat/fix: enhance cert-manager integration for metrics endpoints (follow-up to PR #4243) #4400
- 🌱 : Ensure that golangci-lint CI version is passed for the templates by @mateusoliveira43 in 🌱 : Ensure that golangci-lint CI version is passed for the templates #4432
- 📖 Fix: move v2vsv3.md to the legacy folder and update references by @monteiro-renato in 📖 Fix: move v2vsv3.md to the legacy folder and update references #4431
- ✨ feat: enforce restricted Pod Security Context Compliance in testing by @lunarwhite in ✨ feat: enforce restricted Pod Security Context Compliance in testing #4435
- 🌱 Bump github.com/onsi/ginkgo/v2 from 2.22.0 to 2.22.1 by @dependabot in 🌱 Bump github.com/onsi/ginkgo/v2 from 2.22.0 to 2.22.1 #4436
- 🌱 add better description to MarshalYAML and UnmarshalYAML methods by @fengshunli in 🌱 add better description to MarshalYAML and UnmarshalYAML methods #4438
- ✨ (kustomize/v2) feat: add app.kubernetes.io/name label to allow more precise configurations by @wjiec in ✨ (kustomize/v2) feat: add app.kubernetes.io/name label to allow more precise configurations #4437
- 🌱 Bump github.com/onsi/gomega from 1.36.1 to 1.36.2 by @dependabot in 🌱 Bump github.com/onsi/gomega from 1.36.1 to 1.36.2 #4440
- 📖improve tutorial test docs by @mateusoliveira43 in 📖 improve tutorial test docs #4443
- 🌱improve Ginkgo/Gomega test style by @Sijoma in 🌱improve Ginkgo/Gomega test style #4426
- 🌱 (ci): Improve GitHub Action to linter samples under testdata by @camilamacedo86 in 🌱 (ci): Improve GitHub Action to linter samples under testdata #4444
- ✨ (go/v4): Standardize the webhook and controller test suites by @mateusoliveira43 in ✨ (go/v4): Standardize the webhook and controller test suites #4447
- ✨ Upgrade golangci-lint from v1.61.0 to v1.62.2 by @camilamacedo86 in ✨ Upgrade golangci-lint from v1.61.0 to v1.62.2 #4448
- 📖 (doc): Add "Kubebuilder Project Roadmap 2025" by @camilamacedo86 in 📖 (doc): Add "Kubebuilder Project Roadmap 2025" #4316
- ✨ Upgrade scaffolds to use go 1.23 by @camilamacedo86 in ✨ Upgrade scaffolds to use go 1.23 #4446
- 🌱 e2e - ensure that error from command is checked by @camilamacedo86 in 🌱 e2e - ensure that error from command is checked #4452
- 🌱 Bump github.com/onsi/ginkgo/v2 from 2.22.1 to 2.22.2 by @dependabot in 🌱 Bump github.com/onsi/ginkgo/v2 from 2.22.1 to 2.22.2 #4455
- 🌱 fix: use Go version from go.mod file in CI by @mateusoliveira43 in 🌱 fix: use Go version from go.mod file in CI #4454
- 🌱 e2e tests improve assertions by simplify style of checks by @camilamacedo86 in 🌱 e2e tests improve assertions by simplify style of checks #4456
- ✨ Upgrade controller-gen from v0.16.5 to v0.17.0 by @camilamacedo86 in ✨ Upgrade controller-gen from v0.16.5 to v0.17.0 #4457
- 🌱 Add lint-config target to validate config and fix issues faced by @camilamacedo86 in 🌱 Add lint-config target to validate config and fix issues faced #4458
- 🌱 Enable lint check empty-block and fix issues by @camilamacedo86 in 🌱 Enable lint check empty-block and fix issues #4459
- 🌱 Enable var-naming lint and fix issues for Kubebuilder CLI by @camilamacedo86 in 🌱 Enable var-naming lint and fix issues for Kubebuilder CLI #4460
- 🌱 Enable if-return linter check and fix issues for Kubebuilder CLI by @camilamacedo86 in 🌱 Enable if-return linter check and fix issues for Kubebuilder CLI #4461
- ✨ (go/v4): Add new makefile target to check and validate the linter config by @camilamacedo86 in ✨ (go/v4): Add new makefile target to check and validate the linter config #4462
- 🌱 Enable the lint to check exported methods and fix issues by @camilamacedo86 in 🌱 Enable the lint to check exported methods and fix issues #4463
- 🐛 (go/v4) Ensure that schemas are added before starting EnvTest-based suite tests for webhooks and controllers by @mateusoliveira43 in 🐛 (go/v4) ensure that schemas are added before start EnvTest-based suite tests for webhooks and controllers #4466
- 🌱 Enable govet settings and fix the issue found by @mateusoliveira43 in 🌱 Enable govet settings and fix issue found #4465
- 🌱 simplify E2E Book Samples job by @mateusoliveira43 in 🌱: simplify E2E Book Samples job #4469
- 🌱 fix: remaining Go upgrades by @mateusoliveira43 in 🌱 fix: remaining Go upgrades #4470
- 🌱 fix: remove unused nolint comments by @mateusoliveira43 in 🌱 fix: remove unused nolint comments #4468
- 🌱 Bump golang.org/x/tools from 0.28.0 to 0.29.0 by @dependabot in 🌱 Bump golang.org/x/tools from 0.28.0 to 0.29.0 #4473
- 🐛 e2e-tests: cleanup by removing calls to call make generate and manifests by @mateusoliveira43 in 🐛 e2e-tests: cleanup by removing calls to call make generate and manifests #4471
- 🌱 Bump github.com/spf13/afero from 1.11.0 to 1.12.0 by @dependabot in 🌱 Bump github.com/spf13/afero from 1.11.0 to 1.12.0 #4480
- ✨ Upgrade controller-runtime v0.19.1 to v0.19.4 by @camilamacedo86 in ✨ Upgrade controller-runtime v0.19.1 to v0.19.4 #4482
- 🐛 (helm/v1alpha1) - fix webhooks generation by removing data from helm chart values by @camilamacedo86 in 🐛 (helm/v1alpha1) - fix webhooks generation by removing data from helm chart values #4451
New Contributors
- @emmanuel-ferdman made their first contribution in 📖: update testdata reference #4328
- @LJTian made their first contribution in 📖 Fix incorrect link address #4333
- @pengqun made their first contribution in 📖 Fix broken plugin URL in getting-started.md #4372
- @wjiec made their first contribution in 🐛 fix: (helm/v1alpha1): Use the ServiceAccount name defined in the values.yaml #4406
- @dsolerh made their first contribution in 📖 Update getting-started.md #4413
- @jameskim0987 made their first contribution in 📖 [ISSUE-4414] Fix typo in getting-started.md #4415
Full Changelog: v4.3.1...master
--- Draft
Extra Labels
No response