github kubernetes-sigs/kubebuilder v4.13.0

15 hours ago

πŸš€ 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 )

  • πŸ› (go/v4): CI lint by using make lint instead of golangci-lint-action so the custom binary (with logcheck plugin) is built and used. by @camilamacedo86 in #5493
  • ✨ (helm/v2-alpha): Add manager.envOverrides for CLI env overrides by @camilamacedo86 in #5495
  • πŸ›(helm/v2-alpha): use manager.replicas from values in chart template by @camilamacedo86 in #5494
  • 🌱 Bump goreleaser/goreleaser-action from 6 to 7 by @dependabot[bot] in #5499
  • πŸ› (helm/v2-alpha): use sigs.k8s.io/yaml for 2-space YAML indentation in generated value files by @v47 in #5490
  • πŸ› fix: resolve panic when multiple plugins define the same flag (e.g. edit with go/v4 + helm) by @camilamacedo86 in #5506
  • 🌱 (infra/demos): Remove asciicinema demos by @vitorfloriano in #5281
  • ✨ chore(go/v4): Upgrade cert-manager from 1.19.3 to 1.19.4 by @camilamacedo86 in #5509
  • 🌱 cleanup(docs): remove script no longer used to build samples under books by @camilamacedo86 in #5511
  • 🌱 chore: add yamllint config for 2-space indentation and Kubernetes YAML best practices by @camilamacedo86 in #5507
  • 🌱 infra: Remove pkg/internal/validation by @vitorfloriano in #5512
  • 🌱 Bump actions/upload-artifact from 6.0.0 to 7.0.0 by @dependabot[bot] in #5515
  • πŸ› fix(go/v4,helm/v2-alpha): use 0644/0755 for generated files by @camilamacedo86 in #5508

New Contributors

  • @v47 made their first contribution in #5490

Full Changelog: v4.12.0...v4.13.0

Don't miss a new kubebuilder release

NewReleases is sending notifications on new releases.