Skip to content

Conversation

camilamacedo86
Copy link
Member

@camilamacedo86 camilamacedo86 commented Mar 11, 2023

Description

This PR enforces the deprecated interface to be implemented so that Bundle Plugins can also be deprecated.
If you are using Kubebuilder as lib, then:

  • a) Add an empty string for all bundles plugins which are not deprecated:

Example:

	// Bundle plugin which built the golang projects scaffold by Kubebuilder go/v4 with kustomize alpha-v2
	gov4Bundle, _ := plugin.NewBundle(golang.DefaultNameQualifier, plugin.Version{Number: 4},
		"", // Here you must pass an empty string. If you inform an string value here then that means this plugin is deprecated and this string will be used to create the notice message
		kustomizecommonv2alpha.Plugin{},
		golangv4.Plugin{},
	)
  • b) Ensure that you implement the Deprecate interface in all plugins
func (p Plugin) DeprecationWarning() string {
	return "" // It should be empty. if you inform a value then that means this plugin is deprecated. 
}

Motivation

Fix the interface to allow Bundles to be deprecated. example:

	const deprecateMessageGoV3Bundle = "This version is deprecated." +
		"The `go/v3` cannot scaffold projects using kustomize versions v4x+" +
		" and cannot fully support Kubernetes 1.25+." +
		"It is recommended to upgrade your project to the latest versions available (go/v4)." +
		"Please, check the migration guide to learn how to upgrade your project"

	// Bundle plugin which built the golang projects scaffold by Kubebuilder go/v3
	gov3Bundle, _ := plugin.NewBundle(golang.DefaultNameQualifier, plugin.Version{Number: 3},
		deprecateMessageGoV3Bundle,
		kustomizecommonv1.Plugin{},
		golangv3.Plugin{},
	)

Screenshot 2023-03-11 at 11 38 16

IMPORTANT See that consumers can use it to know when they will perform the deprecation to define their own message for their own Bundle Plugins.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 11, 2023
@k8s-ci-robot k8s-ci-robot requested a review from jmrodri March 11, 2023 11:36
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 11, 2023
@camilamacedo86 camilamacedo86 force-pushed the fix-bundle-interface-depre branch from 9e869e4 to 6a27bf7 Compare March 11, 2023 11:45
@camilamacedo86 camilamacedo86 changed the title ⚠️ (API) fix deprecate interface to allow bundle plugin has deprecation message ⚠️ 🐛 (API) fix deprecate interface to allow bundle plugin has deprecation message Mar 11, 2023
@kubernetes-sigs kubernetes-sigs deleted a comment from k8s-ci-robot Mar 11, 2023
@camilamacedo86 camilamacedo86 force-pushed the fix-bundle-interface-depre branch 2 times, most recently from 0543590 to 1d4953c Compare March 11, 2023 11:50
@camilamacedo86 camilamacedo86 added this to the 3.10.0 release milestone Mar 11, 2023
Copy link
Contributor

@everettraven everettraven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, this looks good to me - just have one question:

// NewBundle creates a new Bundle with the provided name and version, and that wraps the provided plugins.
// The list of supported project versions is computed from the provided plugins.
func NewBundle(name string, version Version, plugins ...Plugin) (Bundle, error) {
func NewBundle(name string, version Version, deprecateWarning string, plugins ...Plugin) (Bundle, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if converting this to use the options pattern would be better than adding another function parameter? I think that would prevent this function signature getting really long with future changes.

I think this would look something like:

func NewBundle(opts ...BundleOptions) (Bundle, error)

and new bundles could be created like:

bundle, err := NewBundle(
  WithName("name"),
  WithVersion(plugin.Version{Number: 4}),
  WithPlugins(plugins ...Plugin),
  WithDeprecationMessage("Deprecated!"),
)

Thoughts?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@everettraven here we just fixing the method (which breaks the API)
I totally agree with the approach suggested by you and for we are able to do that I tracked the need in: #3307

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86, everettraven, varshaprasad96

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [camilamacedo86,varshaprasad96]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@camilamacedo86
Copy link
Member Author

I am moving this one since it has both approvals.

@camilamacedo86 camilamacedo86 merged commit 7f5d552 into kubernetes-sigs:master Mar 20, 2023
@camilamacedo86 camilamacedo86 deleted the fix-bundle-interface-depre branch March 20, 2023 08:11
Sajiyah-Salat pushed a commit to Sajiyah-Salat/kubebuilder that referenced this pull request Jun 11, 2023
camilamacedo86 added a commit that referenced this pull request Jun 21, 2023
* 🌱 Bump kubernetes-sigs/kubebuilder-release-tools

Bumps [kubernetes-sigs/kubebuilder-release-tools](https://github.com/kubernetes-sigs/kubebuilder-release-tools) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/kubernetes-sigs/kubebuilder-release-tools/releases)
- [Changelog](https://github.com/kubernetes-sigs/kubebuilder-release-tools/blob/master/RELEASE.md)
- [Commits](kubernetes-sigs/kubebuilder-release-tools@v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: kubernetes-sigs/kubebuilder-release-tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update cronjob_types.go

* 📖 fix untile typo in readmes (#3135)

fix untile typo in readmes

* corrected layout

* co_doc

* 📖 : update ComponentConfig tutorial (#3181)

docs: update ComponentConfig

* Bump github.com/onsi/gomega from 1.24.2 to 1.26.0

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.24.2 to 1.26.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.24.2...v1.26.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.8.0

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.7.0...v2.8.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* change kustomize install templating to avoid tripping security alerts

Signed-off-by: jberkhahn <[email protected]>

* Upgrade the k8s version from 1.26.0 to 1.26.1 and controller-runtime from 0.14.1 to 0.14.2

Signed-off-by: Yash Singh <[email protected]>

* feat: automatically update componentconfig tutorial

Co-authored-by: Camila Macedo <[email protected]>

chore: refactor

* ⚠️ (kustomize/v2-alpha, go/v4-alpha): Upgrade kustomize from 4.5.7 to 5.0.0 (#3199)

⚠️ (kustomize/v2-alpha, go/v4-alpha): Upgrade kustomize from 4.5.7 to 5.0.0 (#3199)

* [Fix] Generate docs

* 📖 fix: sync docs tutorial with latest kb (#3209)

* 📖  Update cronjob-tutorial (#3213)

* 📖 update the status of the proposals in the repo

* Bump golang.org/x/text from 0.6.0 to 0.7.0

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump golang.org/x/tools from 0.5.0 to 0.6.0

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.1

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.8.0...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ✨ (go/v3,go/v4-alpha) :Update controller-runtime and controller-tools dependencies (#3218)

:sparkles: (go/v3,go/v4-alpha) :Update controller-runtime and controller-tools dependecies

* :book: update the template for proposals (#3219)

* 📖 update the template for proposals

* Apply suggestions from code review

* 🐛 (Kubebuilder External Plugins API): fix populate PluginRequest.Universe which is empty (#3223)

* fix: populate PluginRequest.Universe

* test: add unit test for getUniverseMap

* refactor: fix linting errors

* docs(README): add latest release badge

* 🌱 Bump golang.org/x/net from 0.6.0 to 0.7.0 (#3232)

Bump golang.org/x/net from 0.6.0 to 0.7.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](golang/net@v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* 📖 design doc with proposal to re-scaffold projects from scratch (#3221)

* Bump github.com/onsi/gomega from 1.26.0 to 1.27.1

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.26.0 to 1.27.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.26.0...v1.27.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🌱 Update golangci-lint to latest version

* Bump github.com/onsi/ginkgo/v2 from 2.8.1 to 2.8.3

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.8.1 to 2.8.3.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.8.1...v2.8.3)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ⚠️ (kustomize/v1) deprecated v1 version in favor of v2 (#3235)

* ⚠️ deprecated kustomize/v1 plugin

* Update docs/book/src/plugins/kustomize-v1.md

Co-authored-by: Bryce Palmer <[email protected]>

* Update docs/book/src/plugins/kustomize-v1.md

Co-authored-by: Bryce Palmer <[email protected]>

* Update docs/book/src/plugins/to-be-extended.md

* Update docs/book/src/plugins/to-be-extended.md

Co-authored-by: Varsha <[email protected]>

* Update pkg/plugins/common/kustomize/v1/plugin.go

Co-authored-by: Bryce Palmer <[email protected]>

* Update docs/book/src/plugins/to-be-extended.md

Co-authored-by: Varsha <[email protected]>

---------

Co-authored-by: Bryce Palmer <[email protected]>
Co-authored-by: Varsha <[email protected]>

* fix: XDG_CONFIG_HOME external plugin discovery

* 👻 : add tony as reviewer

* test: increase coverage

* Update helper_to_upgrade_projects_by_rescaffolding.md

* Update api-changes.md

Fix a typo in the docs

* 🌱 Bump github.com/spf13/afero from 1.9.3 to 1.9.4 (#3254)

Bump github.com/spf13/afero from 1.9.3 to 1.9.4

Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/spf13/afero/releases)
- [Commits](spf13/afero@v1.9.3...v1.9.4)

---
updated-dependencies:
- dependency-name: github.com/spf13/afero
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* 🌱 Bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.8.4 (#3253)

Bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.8.4

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.8.3 to 2.8.4.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.8.3...v2.8.4)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.8.4 to 2.9.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.8.4...v2.9.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🌱 Bump github.com/gobuffalo/flect from 1.0.0 to 1.0.2 (#3252)

Bump github.com/gobuffalo/flect from 1.0.0 to 1.0.2

Bumps [github.com/gobuffalo/flect](https://github.com/gobuffalo/flect) from 1.0.0 to 1.0.2.
- [Release notes](https://github.com/gobuffalo/flect/releases)
- [Commits](gobuffalo/flect@v1.0.0...v1.0.2)

---
updated-dependencies:
- dependency-name: github.com/gobuffalo/flect
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⚠️ (go/v3) deprecate go/v3 in favor of go/v4 (#3238)

* ⚠️ deprecate go/v3

* Apply suggestions from code review

* Update pkg/plugins/golang/v4/plugin.go

Co-authored-by: Bryce Palmer <[email protected]>

---------

Co-authored-by: Bryce Palmer <[email protected]>

* ⚠️ (kustomize/v2) Stabilize plugin. kustomize/v2-alpha was replaced with kustomize/v2 (#3234)

* Bump golang.org/x/text from 0.7.0 to 0.8.0

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/spf13/afero from 1.9.4 to 1.9.5

Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/spf13/afero/releases)
- [Commits](spf13/afero@v1.9.4...v1.9.5)

---
updated-dependencies:
- dependency-name: github.com/spf13/afero
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/onsi/gomega from 1.27.1 to 1.27.2

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.1 to 1.27.2.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.1...v1.27.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🌱 Bump joelanford/go-apidiff from 0.5.0 to 0.6.0 (#3265)

Bumps [joelanford/go-apidiff](https://github.com/joelanford/go-apidiff) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/joelanford/go-apidiff/releases)
- [Commits](joelanford/go-apidiff@v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: joelanford/go-apidiff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* 📖 : delete cronjob tutorial Incorrect kustomization.yaml (#3256)

* ⚠️ (go/v4-alpha) stabilize go/v4 plugin. Plugin go/v4-alpha replaced with go/v4 (#3237)

* [fix: go/v3, go/v4] Remove stale imports

This PR removes the stale import: "pkg/envtest/printer" that is not needed
after migrating to ginko/v2.

Controller-runtime v0.14.0+ has migrated to use ginko/v2 and thereby removed
"printer" package. The imports were still being scaffolded though not used in the
codebase.

Signed-off-by: Varsha Prasad Narsing <[email protected]>

* fix nit lint issue

* :seedleing: stop to generate all samples for go/v3

* 🐛  fix: deprecate message should be in go/v3 (#3277)

fix: deprecate message should be in go/v3

* 🌱 : fix sample project-v4-grafana (#3279)

:bug: fix sample project-v4-grafana

* :sparkles: make go/v4 default scaffold

* :book: remove warning from quick start

* :book: make component-config tuturial sample be based on go/v4 plugin

* :book: updating the component config tutorial to use go/v4

* :book: update cronjob tutorial sample to use go/v4

* :sparkles: deprecate kustomize/v1 and go/v3 packages

* :book: update multiversion tutorial to use go/v4 (#3282)

* Bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.1

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.9.0...v2.9.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* doc: add fish and powershell of autocompletion command

Signed-off-by: JenTing Hsiao <[email protected]>

* fix testdata / merge conflict

* 📖 Replace "Help" field in EP doc with "Metadata" field (#3296)

* Bump github.com/onsi/gomega from 1.27.2 to 1.27.4

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.2 to 1.27.4.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.2...v1.27.4)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🌱 Replace deprecated command with environment file (#3298)

* ⚠️ 🐛 (API) fix deprecate interface to allow bundle plugin has deprecation message (#3276)

* 🌱 Bump actions/setup-go from 3 to 4

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* adds small version cmd test

* 🌱  [ci] : fix the issue with [CI] doc check being cancelled instead of being skipped (#3319)

* ci: remove check docs only since it is blocking the ci

* 📖: fix spelling mistakes in document (#3331)

fix spelling mistakes in doc

* 📖: Add version dropdown for doc release (#3332)

add version dropdown for doc

* Bump github.com/spf13/cobra from 1.6.1 to 1.7.0

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.6.1...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump golang.org/x/text from 0.8.0 to 0.9.0

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/onsi/ginkgo/v2 from 2.9.1 to 2.9.2

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.9.1...v2.9.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 📖: Update multiversion-tutorial/deployment.md to enable CA injection when deploying webhook (#3328)

* Bump golang.org/x/tools from 0.7.0 to 0.8.0

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/onsi/gomega from 1.27.4 to 1.27.6

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.4 to 1.27.6.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.4...v1.27.6)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* remove multi arch node affinity patch from auth proxy

Signed-off-by: Nikhil Sharma <[email protected]>

* 📖 apply changes done in the pr 3287

* 📖 fix migration guide after go/v4 stabilization and links

* 📖 fix/update go/v4 plugin page doc after the stabilization

* 📖 fix kustomize-v2 index link and udated info accordingly

* 🌱 cleanup tests after go/v3 deprecation

* ✨ (API and go/v4): Upgrade go version to 1.20

* ✨ Upgrade image gcr.io/kubebuilder/kube-rbac-proxy

* 🐛 fix scaffold remove bintest dir from gitignore and dockerfile since this directory is not scaffolded

* ✨Change `NewBundle` method to build bundles through working with options (#3312)

* change NewBundle method to build bundles through working with options

Signed-off-by: Nikhil Sharma <[email protected]>

* make changes in docs for the changed pattern for NewBundleWithOptions func

Signed-off-by: Nikhil Sharma <[email protected]>

---------

Signed-off-by: Nikhil Sharma <[email protected]>

* ⚠️ (API) deprecate old func to create new BunlePlugin in favor of the new one which uses as arg BundleOptinos

* 🐛 fix name controllers test

* 🌱 added test for exec.go (#3352)

added test for exec.go

pass test cases

updated tests

updated tests

Revert "updated tests"

This reverts commit 7a465c0.

updated tests

Revert "added test for exec.go"

This reverts commit da172c4.

added exec tests

rerun suits stop

added test files

removed Test Plugin File

solved bugs

minor code changes

added license header

removed exec_test

added exec_tests finally

rebase commits

* fix: scaffold when no boilerplate file

* fix: only continue when fileNotFound

* ✨ (kustomize/v2,go/v4): Upgrade kustomize version from 5.0.0 to 5.0.1 (#3366)

* rm: header.hbs

* rm: header usage

* rm: header specific styles

* feat: update k8s version to 1.27.1

* fix: only update k8s version in go-v4

* ✨ allow container tool to be configured in Makefile

- This allows building with other container tools like podman. Keeps docker as the default.

Signed-off-by: Gabe Alford <[email protected]>

* ✨ (go/v4): Upgrade controller-tools from 0.11.3 to v0.12.0 (#3388)

* 🌱   Update cronjob-tutorial automatically (#3231)

* Bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.1

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.8.0...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* feat: update cronjob-tutorial automatically

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* 📖 update doc samples within the latest changes (#3392)

* doc: update go version to v1.20

* 🐛 (deployImage) fix controller tests implemented by removing unecessary code implementation

* feat: scaffold when lincense type none

feat: change the binaryPath when update tutorial

fix: revert const name

fix: current behavior

* Bump github.com/onsi/ginkgo/v2 from 2.9.2 to 2.9.4

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.9.2 to 2.9.4.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.9.2...v2.9.4)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* patchesStrategicMerge to Patches

* Update the Owner Allias accordinly

* Updated Makefile to support go install kustomize

* Update completion.md with fish shell instructions

* 📖 fix formatting in quick start

* Added link for cronjob tutorial

* chore: update go version for external plugin sample

* Bump github.com/onsi/ginkgo/v2 from 2.9.4 to 2.9.5

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.9.4 to 2.9.5.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.9.4...v2.9.5)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Added user prompt for doc

* Bump sigs.k8s.io/kubebuilder/v3

Bumps [sigs.k8s.io/kubebuilder/v3](https://github.com/kubernetes-sigs/kubebuilder) from 3.7.0 to 3.10.0.
- [Release notes](https://github.com/kubernetes-sigs/kubebuilder/releases)
- [Changelog](https://github.com/kubernetes-sigs/kubebuilder/blob/master/RELEASE.md)
- [Commits](v3.7.0...v3.10.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/kubebuilder/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Added the test coverage for completion.go and version.go

* Quote download URL in quickstart docs

Copying and pasting the `curl` line in the installation docs conflicts with zsh (or perhaps oh-my-zsh), which incorrectly escapes parentheses. 

```sh
curl -L -o kubebuilder https://go.kubebuilder.io/dl/latest/$(go env GOOS)/$(go env GOARCH)
```

becomes:

```sh
curl -L -o kubebuilder https://go.kubebuilder.io/dl/latest/$\(go env GOOS)/$(go env GOARCH)
```

Which of course doesn't have the desired result and errors out.

Double-quoting the URL should ensure the interpolated shell commands have the desired outcome. Tested on zsh and bash.

* Bump github.com/onsi/gomega from 1.27.6 to 1.27.7

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.6 to 1.27.7.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.6...v1.27.7)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.2

Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.9.0 to 1.9.2.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](sirupsen/logrus@v1.9.0...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* ✨ (go/v4): Allows kubectl to be configured in Makefile

- This allows multiple different kubectl installs to be used.

Signed-off-by: Gabe Alford <[email protected]>

* Fixed manager_webhook_patch not uncommented

* doc: Fix multigroup migration guide for v4

Co-authored-by: Varsha <[email protected]>
Co-authored-by: Camila Macedo <[email protected]>
Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <[email protected]>

* test: add e2e tests for sample external plugin

Co-authored-by: Bryce Palmer <[email protected]>

* ci: add a script to install sample external plugin

* move joelanford to emeritus

Signed-off-by: Joe Lanford <[email protected]>

* Bump golang.org/x/tools from 0.9.1 to 0.9.3

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.9.1 to 0.9.3.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.9.1...v0.9.3)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/onsi/ginkgo/v2 from 2.9.5 to 2.9.7

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.9.5 to 2.9.7.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.9.5...v2.9.7)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix function name in comments

Signed-off-by: cui fliter <[email protected]>

* Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3

Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](sirupsen/logrus@v1.9.2...v1.9.3)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* doc: fix path error

* ✨re-scaffold the project with a new command  (#3431)

* ⚠️ deprecate component config and no longer able to ensure that it is functioning as intended

* Bump golang.org/x/text from 0.9.0 to 0.10.0

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump github.com/onsi/gomega from 1.27.7 to 1.27.8

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.7 to 1.27.8.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.7...v1.27.8)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Raising event doc page created

* Bump github.com/onsi/ginkgo/v2 from 2.9.7 to 2.10.0

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.9.7 to 2.10.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.9.7...v2.10.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Changes done

* ✨ bump controller-runtime and K8s 1.27 (#3444)

* feat: make external plugin path configurable

Co-authored-by: Bryce Palmer <[email protected]>

* 🌱 fix ci testdata gets outdated because go version and remove job to open PR

* 🌱 Bump nashmaniac/create-issue-action from 1.1 to 1.2

Bumps [nashmaniac/create-issue-action](https://github.com/nashmaniac/create-issue-action) from 1.1 to 1.2.
- [Release notes](https://github.com/nashmaniac/create-issue-action/releases)
- [Commits](nashmaniac/create-issue-action@v1.1...v1.2)

---
updated-dependencies:
- dependency-name: nashmaniac/create-issue-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* build(deps): bump golang.org/x/tools from 0.9.3 to 0.10.0

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.9.3...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* build(deps): bump github.com/onsi/ginkgo/v2 from 2.10.0 to 2.11.0

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.10.0...v2.11.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* (kustomize/v2) - deprecate component-config flag

* Adding checks to e2e tests to verify make manifest and generate command

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: jberkhahn <[email protected]>
Signed-off-by: Yash Singh <[email protected]>
Signed-off-by: Varsha Prasad Narsing <[email protected]>
Signed-off-by: JenTing Hsiao <[email protected]>
Signed-off-by: Nikhil Sharma <[email protected]>
Signed-off-by: Gabe Alford <[email protected]>
Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <[email protected]>
Signed-off-by: Joe Lanford <[email protected]>
Signed-off-by: cui fliter <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kubernetes Prow Robot <[email protected]>
Co-authored-by: Sajiyah Salat <[email protected]>
Co-authored-by: Pal K. Klucsik <[email protected]>
Co-authored-by: Swastik_Gour <[email protected]>
Co-authored-by: Eileen <[email protected]>
Co-authored-by: jberkhahn <[email protected]>
Co-authored-by: Yash Singh <[email protected]>
Co-authored-by: Eileen <[email protected]>
Co-authored-by: Varsha <[email protected]>
Co-authored-by: Tony (TianYi) <[email protected]>
Co-authored-by: El Mehdi Rami <[email protected]>
Co-authored-by: r3drun3 <[email protected]>
Co-authored-by: Tharun K <[email protected]>
Co-authored-by: Bryce Palmer <[email protected]>
Co-authored-by: Shubham Rajvanshi <[email protected]>
Co-authored-by: 晓杰 <[email protected]>
Co-authored-by: JenTing Hsiao <[email protected]>
Co-authored-by: atoato88 <[email protected]>
Co-authored-by: Jongwoo Han <[email protected]>
Co-authored-by: Steve Sklar <[email protected]>
Co-authored-by: Nikhil Sharma <[email protected]>
Co-authored-by: Pratik Mota <[email protected]>
Co-authored-by: Steve Sklar <[email protected]>
Co-authored-by: zjx20 <[email protected]>
Co-authored-by: Yash Khare <[email protected]>
Co-authored-by: yyy1000 <[email protected]>
Co-authored-by: Ashutosh Jha <[email protected]>
Co-authored-by: Gabe Alford <[email protected]>
Co-authored-by: Kun Zhang <[email protected]>
Co-authored-by: Chok Yip Lau <[email protected]>
Co-authored-by: David Xia <[email protected]>
Co-authored-by: James Turley <[email protected]>
Co-authored-by: Juan-Luis de Sousa-Valadas Castaño <[email protected]>
Co-authored-by: Joe Lanford <[email protected]>
Co-authored-by: cui fliter <[email protected]>
Co-authored-by: Shabir Mohamed Abdul Samadh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants