Skip to content

Conversation

@camilamacedo86
Copy link
Member

@camilamacedo86 camilamacedo86 commented Mar 7, 2023

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.

@k8s-ci-robot k8s-ci-robot requested a review from jmrodri March 7, 2023 09:20
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 7, 2023
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested a review from pwittrock March 7, 2023 09:20
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 7, 2023
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)
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 8, 2023
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"
Copy link
Member

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

Comment on lines 37 to 38
// 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.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// 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.

Copy link
Member

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
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/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants