-
Notifications
You must be signed in to change notification settings - Fork 1.6k
🐛 Clarify deprecate documentation for API methods which are served to work with CRD/WebHook API versions v1beta1 (#3261) #3266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… work with CRD/WebHook API versions v1beta1 (#3261)
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86 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:
Approvers can indicate their approval by writing |
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]> (cherry picked from commit 8284311)
| ctrl "sigs.k8s.io/controller-runtime" | ||
| "sigs.k8s.io/controller-runtime/pkg/client" | ||
| "sigs.k8s.io/controller-runtime/pkg/envtest" | ||
| "sigs.k8s.io/controller-runtime/pkg/envtest/printer" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already merged in master and cherry-picked in 3.9.0
pkg/plugin/util/helpers.go
Outdated
| // Deprecated: v1beta1 CRDs and Webhooks are not supported since k8s 1.22. | ||
| // The features that allow users to scaffold projects using these API versions are deprecated and are no longer supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // Deprecated: v1beta1 CRDs and Webhooks are not supported since k8s 1.22. | |
| // The features that allow users to scaffold projects using these API versions are deprecated and are no longer supported. | |
| // Deprecated: v1beta1 CRDs and Webhooks are not supported since k8s 1.22. | |
| // The features that allow users to scaffold projects using these API versions are deprecated | |
| // and are no longer supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to make linter happy, had to do separate commit in 3.9.0: #3271
🌱 [fix] Linter errors for deprecation message
Description
Apply change to the master branch
The goal of this PR is just improve the golang documentation about the methods that are marked as deprecated.