Skip to content

v3.12.0

Compare
Choose a tag to compare
@camilamacedo86 camilamacedo86 released this 06 Sep 06:03
b48f95c

changes since v3.11.1

⚠️ Breaking Changes

  • Deprecation of the Declarative Plugin (declarative/v1) (#3395):

The Declarative plugin (declarative/v1) is an implementation derived from the kubebuilder-declarative-pattern project. As the project maintainers possess the most comprehensive knowledge about its changes and Kubebuilder allows the creation of custom plugins using its library, it has been decided that this plugin will be better maintained within the kubebuilder-declarative-pattern project itself, which falls under its domain of responsibility. This decision aims to improve the maintainability of both the plugin and Kubebuilder, ultimately providing an enhanced user experience. To follow up on this work, please refer to the issue #293.

  • (go/v4): Upgrade k8s 1.27.1 to 1.28.0 and controller-runtime from 0.15.0 to 0.16.0 (#3570)

Controller-runtime has breaking changes see the release notes of the version v0.16.0 . Following the changes required to be introduced in the main.go and in the webhook_suite_test.go:

✨ New Features

  • (kustomize/v2, go/v4) upgrade kustomize version from 5.0.1 to 5.1.1 (#3587)
  • (kustomize/v2, go/v4): upgrade controller-tools from 0.12.0 to 0.13.0 (#3561)
  • (CLI): Standardization of Logs using Library logrus ( replace of fmt.Print ) (#3571)
  • Alpha Command to re-scaffold project (kubebuilder alpha generate) improvements:
    • Add support to deployImage plugin (#3544)
    • Improve logs (#3556)
    • Add support to Grafana Plugin (#3503) (#3509)
    • Add support to Webhooks (#3497)
    • Add support to Create API fields (#3489)
    • Add support to multigroup (#3487)
  • (API): Export config struct to be available for external plugin (#3554)
  • (go/v4): Add .vscode to autogenerated .gitignore files (#3480)

🐛 Bug Fixes

  • (kustomize/v2,go/v4): fix kustomization yaml's webhooks patches file names for multgroup layouts (#3580)
  • (CLI) change deprecated warning to yellow (#3563)
  • (deployimage/v1-beta1): fix scaffold with multigroup and and add optional plugins to multigroup sample to validate changes (#3560)
  • (go/v4): fix makefile target to build images ensuring its single responsibility (#3353)
  • (go/v4): fix grammar in scaffolded makefiles (#3542)
  • (API): Ensure external plugin can scaffold files in new directories (#3519)
  • (CLI): Fix completion in deprecated projects (#3474)
  • (go/v4, deployImage): fix scaffold to allow run the tests directly. Currently, is only possible run via the makefile targets (#3365)
  • (CLI) Fix issue found to re-generate the scaffolds with the new alpha command (#3461)
  • (go/v4,kustomize/v2): Fix kustomize syntax during conversion to patches by (#3456)
  • (go/v4, deployImage): fix scaffold to allow run the tests directly. (#3365)
  • (go/v4): fix makefile target to build images without run the tests (#3353)
  • (go/v4): Start to check ENABLE_WEBHOOKS envvar into main.go to fix issue when webhooks are used (#3578)
  • (kustomize/v2,go/v4): fix kustomization yaml's webhooks patches file names for multgroup layouts (#3580)

🎉 Thanks to all our contributors!

New Contributors

Full Changelog

  • 🐛 Fix kustomize syntax during conversion to patches by @mjlshen in #3456
  • 🐛 Add .vscode to autogenerated .gitignore files by @programmer04 in #3480
  • 🌱 build(deps): bump sigs.k8s.io/kubebuilder/v3 from 3.10.0 to 3.11.0 in /docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1 by @dependabot in #3477
  • 🐛 Fix issue found to re-generate the scaffolds with the new alpha command and adding e2e tests by @yyy1000 in #3461
  • ✨ Add multigroup flag in alpha generate subcommand by @yyy1000 in #3487
  • 🌱 build(deps): bump sigs.k8s.io/kubebuilder/v3 from 3.11.0 to 3.11.1 in /docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1 by @dependabot in #3485
  • 🌱 build(deps): bump golang.org/x/tools from 0.10.0 to 0.11.0 by @dependabot in #3493
  • 📖 Updates extending kubebuilder docs to use NewBundleWithOptions by @sklarsa in #3490
  • ✨ Add API fields in alpha generate subcommand by @yyy1000 in #3489
  • ✨ Add Webhooks in alpha generate subcommand by @yyy1000 in #3497
  • 📖 : Update README.md - Community Meetings by @camilamacedo86 in #3498
  • 🐛(go/v4, deployImage): fix scaffold to allow run the tests directly. Currently, is only possible run via the makefile targets by @camilamacedo86 in #3365
  • 🌱 Update security contacts by @camilamacedo86 in #3407
  • ✨ Add Grafana Plugin migration in alpha generate subcommand -- Step 1 by @yyy1000 in #3503
  • 📖 Fix typo in scaffold plugins docs by @micahyoung in #3504
  • 📖 Docs update quick-start.md use "kubectl -k apply" by @csantanapr in #3500
  • 🌱 build(deps): bump github.com/onsi/gomega from 1.27.8 to 1.27.10 by @dependabot in #3507
  • 📖 : apply kustomize dir with correct flags by @Kavinjsir in #3510
  • 🌱 Update destroy function by @Sajiyah-Salat in #3508
  • ✨ Add Grafana Plugin migration in alpha generate subcommand -- Step 2 by @yyy1000 in #3509
  • 📖 Add tutorial for external plugin by @Eileen-Yu in #3488
  • 🐛 fix(completion): Fix completion in deprecated projects by @BronzeDeer in #3474
  • 🌱 build(deps): bump golang.org/x/tools from 0.11.0 to 0.12.0 by @dependabot in #3527
  • 📖 chore(docs): change folder pkg to internal/controller in the migratio… by @Benjaminvdv in #3517
  • 🐛 Ensure external plugin can scaffold files in new directories by @Eileen-Yu in #3519
  • 🌱 Image name edge cases covered by @Sajiyah-Salat in #3514
  • 🌱 logs info updated by @Sajiyah-Salat in #3512
  • 🐛 fix doc preview by @camilamacedo86 in #3535
  • 🐛: sync kb binary from source code for docs by @Kavinjsir in #3520
  • 🐛 fix grammar in scaffolded makefiles by @typeid in #3542
  • 📖 fix escaped html in markdown code segments by @typeid in #3541
  • 🐛 (go/v4) fix makefile target to build images ensuring its single responsibility by @camilamacedo86 in #3353
  • ✨ Externalize config struct to be available for external plugin by @Eileen-Yu in #3554
  • 🌱 : (deployimage): fix e2e tests which are using go/v3 which is dep… by @camilamacedo86 in #3565
  • 🌱 ensure that we call go tidy, make manifests and all when we generate… by @camilamacedo86 in #3564
  • ✨ (Kustomize/v2, go/v4): upgrade controller-tools from 0.12.0 to 0.13.0 by @Kavinjsir in #3561
  • ✨ improve logs from alpha command generate by @camilamacedo86 in #3556
  • 🐛 (deployimage/v1-beta1): fix scaffold with multigroup and and add optional plugins to multigroup sample to validate changes by @camilamacedo86 in #3560
  • 🐛 change deprecated warning to yellow by @camilamacedo86 in #3563
  • 📖 Add good practices doc by @Sajiyah-Salat in #3547
  • 📖 Add notes to distinguish between external plugin and using KB as a library by @Eileen-Yu in #3572
  • 📖 : changing title for external plugins by @camilamacedo86 in #3567
  • 📖 fix title to make clear plugins which are deprecated by @camilamacedo86 in #3568
  • ✨ Add support to re-scaffolds projects with alpha generate subcommand to deployImage plugin by @yyy1000 in #3544
  • 📖 Add document for Alpha generate command by @yyy1000 in #3573
  • 🌱 build(deps): bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0 by @dependabot in #3574
  • 🌱 bump joelanford/go-apidiff from 0.6.1 to 0.7.0 by @dependabot in #3575
  • ✨ : Standardization of Logs using Library logrus ( replace of fmt.Print ) by @lowang-bh in #3571
  • ⚠️ deprecate declarative plugin by @camilamacedo86 in #3395
  • 📖 Fix ComponentConfig by @ashutosh887 in #3577
  • ⚠️ : upgrade k8s 1.27.1 to 1.28.0 and controller-runtime from 0.15.0 to 0.16.0 by @camilamacedo86 in #3570
  • 🌱 (make generate) : fix error of 'Permission denied' about binary file by @lowang-bh in #3579
  • 🌱 make generate error: target directory is not empty by @lowang-bh in #3582
  • 🐛 (go/v4): Start to check ENABLE_WEBHOOKS envvar into main.go to fix issue when webhooks are used by @lowang-bh in #3578
  • 🐛 (kustomize/v2,go/v4): fix kustomization yaml's webhooks patches file names for multgroup layouts by @lowang-bh in #3580
  • 🌱 fix lint ci issue and update golangci-lint version by @camilamacedo86 in #3586
  • ✨ (kustomize/v2, go/v4) upgrade kustomize version from 5.0.1 to 5.1.1 by @camilamacedo86 in #3587
  • 🌱 fix lint gosec false complain by @camilamacedo86 in #3590
  • 🌱 : remove gosec lint due false claims by @camilamacedo86 in #3592
  • 🌱 chore(deps): bump golang.org/x/text from 0.12.0 to 0.13.0 by @dependabot in #3589
  • 🌱 bump actions/checkout from 3 to 4 by @dependabot in #3588

Full Changelog: v3.11.1...v3.12.0