Skip to content

Update module sigs.k8s.io/kubebuilder/v4 to v4.13.1#143

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/sigs.k8s.io-kubebuilder-v4-4.x
Open

Update module sigs.k8s.io/kubebuilder/v4 to v4.13.1#143
renovate[bot] wants to merge 1 commit intomainfrom
renovate/sigs.k8s.io-kubebuilder-v4-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Aug 3, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
sigs.k8s.io/kubebuilder/v4 v4.6.0v4.13.1 age confidence

Release Notes

kubernetes-sigs/kubebuilder (sigs.k8s.io/kubebuilder/v4)

v4.13.1

Compare Source

🚀 Keep Your Scaffold Updated

The migration guide covers upgrading from any version to the latest, including AI-assisted helpers/commands for legacy scaffolds that may require manual steps. For the smoothest path, enable the AutoUpdate Plugin (uses GitHub Actions) or run kubebuilder alpha update locally—both use the same update logic. The other options are primarily for older projects missing cliVersion in the PROJECT file as a one-time step to reach a supported version; after that, you can rely on these workflows for ongoing updates.

✨ Upgrades

  • (go/v4): Upgrade cert-manager from v1.19.4 to v1.20.0 (#​5531)
  • (go/v4): Upgrade controller-runtime from v0.23.1 to v0.23.3 (#​5532)

🐛 Bug Fixes

  • (API): Move test/e2e/helpers to test/e2e/internal (#​5516
  • (API): Move logging and alpha packages to internal (#​5514)
  • (helm/v2-alpha): Fix double-escaping of YAML-encoded quotes in template expressions (#​5529)
  • (go/v4): Add SchemeGroupVersion for applyconfiguration compatibility (#​5491)
  • (config/v3): Ignore unknown fields in the PROJECT file for forward compatibility (#​5540)
  • (alpha/generate): Skip Go version check by default (#​5547)

What's Changed

New Contributors

Full Changelog: kubernetes-sigs/kubebuilder@v4.13.0...v4.13.1

v4.13.0

Compare Source

🚀 Keep Your Scaffold Updated

The migration guide covers upgrading from any version to the latest, including AI-assisted helpers/commands for legacy scaffolds that may require manual steps. For the smoothest path, enable the AutoUpdate Plugin (uses GitHub Actions) or run kubebuilder alpha update locally—both use the same update logic. The other options are primarily for older projects missing cliVersion in the PROJECT file as a one-time step to reach a supported version; after that, you can rely on these workflows for ongoing updates.

✨ Upgrades

  • (go/v4): Upgrade cert-manager used in the e2e tests from v1.19.3 to v1.19.4 (#​5509)

✨ New Features

  • (helm/v2-alpha): Add manager.envOverrides to support overriding manager environment variables via Helm CLI (e.g. --set manager.envOverrides.LOG_LEVEL=debug) (#​5495)

🐛 Bug Fixes

  • (go/v4): Fix lint execution to ensure the project’s configured lint rules are properly applied (#​5493)
  • (helm/v2-alpha): Fix manager.replicas so values from values.yaml are correctly applied in the chart template (#​5494)
  • (helm/v2-alpha): Ensure generated Helm Chart files use consistent 2-space indentation (#​5490)
  • (CLI/alpha update): Fix panic when multiple plugins define the same CLI flag (e.g. edit with go/v4 + helm/v2-alpha) (#​5506)
  • (go/v4, helm/v2-alpha): Standardize generated file and directory permissions (files: 0644, directories: 0755) (#​5508)

🎉 Thanks to all contributors!

What's Changed ( Full Changelog )

New Contributors

Full Changelog: kubernetes-sigs/kubebuilder@v4.12.0...v4.13.0

v4.12.0

Compare Source

🚀 Keep Your Scaffold Updated

The migration guide covers upgrading from any version to the latest, including AI-assisted helpers/commands for legacy scaffolds that may require manual steps. For the smoothest path, enable the AutoUpdate Plugin (uses GitHub Actions) or run kubebuilder alpha update locally—both use the same update logic. The other options are primarily for older projects missing cliVersion in the PROJECT file as a one-time step to reach a supported version; after that, you can rely on these workflows for ongoing updates.

✨ Upgrades

  • (go/v4): upgrade golangci-lint from v2.7.2 to v2.8.1. (#​5403, #​5481)
  • (go/v4): Upgrade certmanager from v1.19.2 to v1.19.3. (#​5431)
  • (go/v4): Upgrade controller-tools from v0.20.0 to v0.20.1 (#​5475)
  • (kustomize/v2): Upgrade kustomize from 5.7.1 to 5.8.1. (#​5412, #​5481)

✨ New features

  • (helm/v2-alpha): Polish Chart.yaml metadata. (#​5414)
  • (helm/v2-alpha): Add Notes.txt. (#​5392)
  • (helm/v2-alpha): Add Makefile targets for Helm Development. (#​5442,#​5468)
  • (go/v4): Add autocomplete support in .devcontainer/post-install.sh and enhance script. (#​5394, #​5435)
  • (go/v4): Add custom k8s linter for logs to promote better observability. (#​5396)
  • (go/v4): Now, users can scaffold projects which are namespace-scoped managers by using the flag --namespaced. The flag is valid for init and edit subcommands (#​5411, #​5482, #​5480)
  • (go/v4): add --multigroup flag to init subcommand. Now you can initialize a project with this layout (#​5440)
  • (CLI): Add short description to tab completion in bash . (#​5408)
  • (alpha/update): Add the flag --merge-message and flag --conflict-message to allow customise commit messages. (#​5429, #​5479)

🐛 Bug fixes

  • (go/v4): Follow Kubernetes logging conventions. (#​5406)
  • (go/v4): Make e2e tests more robust to avoid flakes (#​5437, #​5450)
  • (helm/v2-alpha): wrap webhook resources with .Values.webhook.enable conditional. (#​5413)
  • (helm/v2-alpha): Fix chart generation and template rendering issues. (#​5422)
  • (helm/v2-alpha): Support custom container names and fix templating bugs (#​5463)
  • (helm/v2-alpha): Fix crd.keep to correctly add the helm.sh/resource-policy: keep annotation to generated CRDs (#​5472)
  • (helm/v2-alpha): remove deprecated helm/v1-alpha plugin entry from PROJECT file when helm/v2-alpha is used. (#​5436)
  • (CLI): alpha generate/update now respects the custom project name. (#​5426)
  • (alpha/update): update commit messages with conventional commit format. (#​5428)
  • (CLI/API): Fix issues when the --help command was used with --plugins and improve output to show the available help plugins per subcommand. (#​5448)
  • (API): move hack/docs/utils to hack/docs/internal. (#​5407)

🎉 Thanks to all contributors!

What's Changed ( Full Changelog )

New Contributors

Full Changelog: kubernetes-sigs/kubebuilder@v4.11.1...v4.12.0

v4.11.1

Compare Source

🚀 Keep Your Scaffold Updated

The migration guide covers upgrading from any version to the latest, including AI-assisted helpers/commands for legacy scaffolds that may require manual steps. For the smoothest path, enable the AutoUpdate Plugin (uses GitHub Actions)) or run kubebuilder alpha update locally—both use the same update logic. The other options are primarily for older projects missing cliVersion in the PROJECT file as a one-time step to reach a supported version; after that, you can rely on these workflows for ongoing updates.

🐛 Bug fixes

  • (go/v4): Upgrade controller-runtime from v0.23.0 to v0.23.1. For further information, see its release notes.(#​5402)
  • (helm/v2-alpha): Escape existing Go template syntax in generated Helm charts to prevent rendering conflicts. (#​5388)
  • (helm/v2-alpha): Prevent CRs (Custom Resources) resources from being added to the extras directory. (#​5389)
  • (CLI): Insert build information into Go tools installation methods used by the CLI version command. (#​5303)
  • (CLI): Format the output of the version subcommand for improved readability and consistency. (#​5236)
  • (API): Move the cmd package under internal to improve encapsulation and API boundaries. (#​5400)

Note: If you did not upgrade your project to v4.11.0, please make sure to review its release notes, as they contain important major changes that also apply to this release.

🎉 Thanks to all contributors!

What's Changed (Full Changelog)

Full Changelog: kubernetes-sigs/kubebuilder@v4.11.0...v4.11.1

v4.11.0

Compare Source

🚀 Keep Your Scaffold Updated

🎉 Our migration guide was fully updated to help you upgrade from any version to the latest. It also now includes AI migration helpers/commands to guide upgrades for old scaffolds where manual steps are required. See the migrations guidance.

Automate updates with kubebuilder edit --plugins="autoupdate.kubebuilder.io/v1-alpha" or run them manually with kubebuilder alpha update. If your PROJECT file does not include cliVersion, you may need a one-time upgrade, and kubebuilder alpha generate can fully re-scaffold the project in one step. After that, updates work seamlessly. (More info)

⚠️ Breaking changes

controller-runtime v0.23.0 upgrade (v0.22.4v0.23.0)

This release updates Kubebuilder scaffolding to match controller-runtime v0.23.0. This version includes breaking changes that impact generated projects:

  1. Type-safe webhook builder API — webhooks now use generics for stronger type safety
  2. New Events API — migration from tools/record to tools/events
  3. ENVTEST teardowntestEnv.Stop() now requires an Eventually wrapper for graceful shutdown
If you use the Helm plugin to distribute your project

This release includes major Helm plugin changes (community-raised fixes and improvements have been addressed). Please update your project:

kubebuilder edit --plugins=helm/v2-alpha --force

If you have customisations, back up your current Helm chart first so you can re-apply them on top of the latest version.

Tip: Check the PROJECT file to see which plugin/version your project is using.

✨ New features

  • (helm/v2-alpha): Add tolerations, nodeSelector, and affinity support. (#​5247)
  • (go/v4): Improve devcontainer for Codespaces compatibility. (#​5295)
  • (go/v4): Add AGENTS.md to generated projects. (#​5273, #​5322, #​5327)
  • (alpha): Auto-migrate helm/v1-alpha projects to helm/v2-alpha during generate. (#​5349)
  • (helm/v2-alpha): Improve _helpers.tpl readability. (#​5359)
  • (helm/v2-alpha): Standardise generated values.yaml comment conventions (single # vs ##). (#​5357)
  • (helm/v2-alpha): Add standard Helm labels to generated resources. (#​5340)
  • (helm/v2-alpha): Add custom resources to templates/extras. (#​5339)
  • (helm/v2-alpha): Add support for parsing imagePullSecrets and including them in the generated chart. (#​5242)

✨ Upgrades

  • (go/v4): Upgrade controller-runtime from v0.22.4 to v0.23.0. (#​5378)
  • (go/v4): Upgrade golangci-lint from v2.5.0v2.7.2. (#​5221, #​5258)
  • (go/v4): Upgrade Go version from 1.241.25. (#​5285)
  • (go/v4): Upgrade controller-gen from v0.19.0v0.20.0. (#​5284)
  • (go/v4): Upgrade cert-manager used by e2e test utilities from v1.19.1v1.19.2. (#​5293)

🐛 Bug fixes

  • (go/v4): Remove redundant config/webhook/kustomizeconfig.yaml and config/crd/kustomizeconfig.yaml (Kustomize v3.5.4+ has built-in support), fixing namespace transformation issues when using projects as bases/overlays. (#​5245, #​5243)
  • (alpha update): Fix --from-version “Invalid SemVer” error. (#​5309)
  • (go/v4): Fix e2e suite race condition that could inadvertently delete cert-manager from environments. (#​5329)
  • (go/v4): Re-add cert-manager logs to e2e runs. (#​5338)
  • (autoupdate/v1-alpha): Make GitHub Models opt-in to prevent 403 errors. (#​5333)
  • (CLI): Fix error unwrapping in updateFileModel when files are missing. (#​5345)
  • (go/v4): Support incremental webhook additions without overwriting custom code. (#​5353)
  • (helm/v2-alpha): Add nameOverride/fullnameOverride support and fix cert-manager templating. (#​5294)
  • (helm/v2-alpha): Fix --force behaviour to overwrite all files except Chart.yaml. (#​5361)
  • (helm/v2-alpha): Fix cross-namespace RBAC file naming and namespace handling. (#​5360)

🎉 Thanks to all contributors!

What's Changed ( Full Changelog )


Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/sigs.k8s.io-kubebuilder-v4-4.x branch from 743a46c to a8d5bda Compare August 10, 2025 12:25
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-kubebuilder-v4-4.x branch from a8d5bda to e0613a0 Compare August 27, 2025 16:05
@renovate renovate bot changed the title Update module sigs.k8s.io/kubebuilder/v4 to v4.7.1 Update module sigs.k8s.io/kubebuilder/v4 to v4.8.0 Aug 27, 2025
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-kubebuilder-v4-4.x branch from e0613a0 to 8a289d9 Compare March 1, 2026 14:49
@renovate renovate bot changed the title Update module sigs.k8s.io/kubebuilder/v4 to v4.8.0 Update module sigs.k8s.io/kubebuilder/v4 to v4.13.0 Mar 1, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Mar 1, 2026

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 27 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.24.4 -> 1.25.3
github.com/onsi/ginkgo/v2 v2.23.4 -> v2.28.1
github.com/onsi/gomega v1.37.0 -> v1.39.1
k8s.io/apimachinery v0.34.0-alpha.1 -> v0.35.3
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 -> v0.0.0-20251002143259-bc988d571ff4
github.com/Masterminds/semver/v3 v3.3.1 -> v3.4.0
github.com/fxamacker/cbor/v2 v2.8.0 -> v2.9.0
github.com/google/gnostic-models v0.6.9 -> v0.7.0
github.com/google/pprof v0.0.0-20250607225305-033d6d78b36a -> v0.0.0-20260115054156-294ebfa9ad83
github.com/spf13/afero v1.14.0 -> v1.15.0
github.com/spf13/cobra v1.9.1 -> v1.10.2
github.com/spf13/pflag v1.0.6 -> v1.0.10
github.com/stretchr/testify v1.10.0 -> v1.11.1
go.yaml.in/yaml/v2 v2.4.2 -> v2.4.3
go.yaml.in/yaml/v3 v3.0.3 -> v3.0.4
golang.org/x/mod v0.26.0 -> v0.34.0
golang.org/x/net v0.42.0 -> v0.52.0
golang.org/x/sync v0.16.0 -> v0.20.0
golang.org/x/sys v0.34.0 -> v0.42.0
golang.org/x/term v0.33.0 -> v0.41.0
golang.org/x/text v0.27.0 -> v0.35.0
golang.org/x/tools v0.35.0 -> v0.43.0
google.golang.org/protobuf v1.36.6 -> v1.36.8
gopkg.in/evanphx/json-patch.v4 v4.12.0 -> v4.13.0
k8s.io/gengo/v2 v2.0.0-20250207200755-1244d31929d7 -> v2.0.0-20250604051438-85fd79dbfd9f
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff -> v0.0.0-20250910181357-589584f1c912
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 -> v0.0.0-20250730193827-2d320260d730
sigs.k8s.io/yaml v1.5.0 -> v1.6.0

@renovate renovate bot force-pushed the renovate/sigs.k8s.io-kubebuilder-v4-4.x branch from 8a289d9 to 8d09a92 Compare March 25, 2026 13:02
@renovate renovate bot changed the title Update module sigs.k8s.io/kubebuilder/v4 to v4.13.0 Update module sigs.k8s.io/kubebuilder/v4 to v4.13.1 Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants