Skip to content

Commit 8449b0f

Browse files
authored
enable ResourceCleanup feature gate by default (#369)
Signed-off-by: Zhiwei Yin <[email protected]>
1 parent cadf714 commit 8449b0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

feature/feature.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const (
2828
ClusterProperty featuregate.Feature = "ClusterProperty"
2929

3030
// AddonManagement is a feature gate on hub controller and spoke-agent. When it is enabled on the
31-
//spoke agent, it will start a new controllers to manage the managed cluster addons
31+
// spoke agent, it will start a new controllers to manage the managed cluster addons
3232
// registration and maintains the status of managed cluster addons through watching their leases.
3333
// When it is enabled on hub controller, it will start a new controller to process addon automatic
3434
// installation and rolling out.
@@ -107,7 +107,7 @@ var DefaultHubRegistrationFeatureGates = map[featuregate.Feature]featuregate.Fea
107107
DefaultClusterSet: {Default: true, PreRelease: featuregate.Alpha},
108108
V1beta1CSRAPICompatibility: {Default: false, PreRelease: featuregate.Alpha},
109109
ManagedClusterAutoApproval: {Default: false, PreRelease: featuregate.Alpha},
110-
ResourceCleanup: {Default: false, PreRelease: featuregate.Alpha},
110+
ResourceCleanup: {Default: true, PreRelease: featuregate.Beta},
111111
ClusterProfile: {Default: false, PreRelease: featuregate.Alpha},
112112
ClusterImporter: {Default: false, PreRelease: featuregate.Alpha},
113113
}

0 commit comments

Comments
 (0)