Skip to content

Conversation

@fabriziopandini
Copy link
Member

What this PR does / why we need it:
Given that the ClusterResourceSet is now GA, the corresponding feature flag shold be deprecated, and it will be removed in 1.12.

Please note that, based on the behaviour implemented by http://k8s.io/component-base for GA flags:

  • the ClusterResourceSet flag disappears from the CLI help
  • the ClusterResourceSet flag can still be used and it is operational (it can be set to false)
  • when you use the ClusterResourceSet flag, you get a warning

Ref #11114

/area clusterresourceset

@k8s-ci-robot k8s-ci-robot added area/clusterresourceset Issues or PRs related to clusterresourcesets cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 23, 2025
// alpha: v0.3
// beta: v0.4
// GA: v1.10
// Deprecated: ClusterResourceSet feature is now GA and the corresponding feature flag will be removed in 1.12 release.
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: ClusterResourceSet feature is now GA and the corresponding feature flag will be removed in 1.12 release.
//
// Deprecated: ClusterResourceSet feature is now GA and the corresponding feature flag will be removed in 1.12 release.

I think staticcheck only picks that up with a leading empty comment line (which is also why the linter didn't complain)

@fabriziopandini fabriziopandini force-pushed the depecate-ClusterResourceSet-feature-flag branch from 5457f28 to 5f243c3 Compare January 23, 2025 11:23
@sbueringer sbueringer changed the title ⚠️ Deprecate the ClusterResourceSet flag ⚠️ Deprecate the ClusterResourceSet feature flag Jan 23, 2025
@sbueringer
Copy link
Member

Thx!

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 23, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: d1a9e0b5f34b4568b95cc88b5ddc7b4e92e54f6f

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sbueringer

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 23, 2025
@k8s-ci-robot k8s-ci-robot merged commit d9f3257 into kubernetes-sigs:main Jan 23, 2025
23 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.10 milestone Jan 23, 2025
@fabriziopandini fabriziopandini deleted the depecate-ClusterResourceSet-feature-flag branch February 19, 2025 12:02
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. area/clusterresourceset Issues or PRs related to clusterresourcesets cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

3 participants