Skip to content

Commit 5f243c3

Browse files
Deprecate the ClusterResourceSet flag
1 parent 664518a commit 5f243c3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,10 @@ issues:
271271
- linters:
272272
- staticcheck
273273
text: "SA1019: (clusterv1alpha3.*|clusterv1alpha4.*) is deprecated: This type will be removed in one of the next releases."
274+
# Specific exclude rules for deprecated feature flags
275+
- linters:
276+
- staticcheck
277+
text: "SA1019: feature.ClusterResourceSet is deprecated: ClusterResourceSet feature is now GA and the corresponding feature flag will be removed in 1.12 release."
274278
- linters:
275279
- revive
276280
text: "exported: exported method .*\\.(Reconcile|SetupWithManager|SetupWebhookWithManager) should have comment or be unexported"

feature/feature.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ const (
4040
// alpha: v0.3
4141
// beta: v0.4
4242
// GA: v1.10
43+
//
44+
// Deprecated: ClusterResourceSet feature is now GA and the corresponding feature flag will be removed in 1.12 release.
4345
ClusterResourceSet featuregate.Feature = "ClusterResourceSet"
4446

4547
// ClusterTopology is a feature gate for the ClusterClass and managed topologies functionality.

0 commit comments

Comments
 (0)