Skip to content

Commit d9f3257

Browse files
authored
Merge pull request #11741 from fabriziopandini/depecate-ClusterResourceSet-feature-flag
⚠️ Deprecate the ClusterResourceSet feature flag
2 parents c7a94cd + 5f243c3 commit d9f3257

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
@@ -273,6 +273,10 @@ issues:
273273
- linters:
274274
- staticcheck
275275
text: "SA1019: (clusterv1alpha3.*|clusterv1alpha4.*) is deprecated: This type will be removed in one of the next releases."
276+
# Specific exclude rules for deprecated feature flags
277+
- linters:
278+
- staticcheck
279+
text: "SA1019: feature.ClusterResourceSet is deprecated: ClusterResourceSet feature is now GA and the corresponding feature flag will be removed in 1.12 release."
276280
- linters:
277281
- revive
278282
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)