π 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.3tov1.19.4(#5509)
β¨ New Features
- (helm/v2-alpha): Add
manager.envOverridesto 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.replicasso values fromvalues.yamlare 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.
editwith 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
Full Changelog: v4.12.0...v4.13.0