Merge pull request #122635 from carlory/KEP-2799
Promote LegacyServiceAccountTokenCleanUp to GA
This commit is contained in:
@@ -146,8 +146,8 @@ func TestFeatureGatedControllersShouldNotDefineAliases(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
|
||||
// DO NOT ADD any new controllers here. These two controllers are an exception, because they were added before this test was introduced
|
||||
if name == names.LegacyServiceAccountTokenCleanerController || name == names.ResourceClaimController {
|
||||
// DO NOT ADD any new controllers here. one controller is an exception, because it was added before this test was introduced
|
||||
if name == names.ResourceClaimController {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
@@ -768,9 +768,6 @@ func newLegacyServiceAccountTokenCleanerControllerDescriptor() *ControllerDescri
|
||||
name: names.LegacyServiceAccountTokenCleanerController,
|
||||
aliases: []string{"legacy-service-account-token-cleaner"},
|
||||
initFunc: startLegacyServiceAccountTokenCleanerController,
|
||||
requiredFeatureGates: []featuregate.Feature{
|
||||
features.LegacyServiceAccountTokenCleanUp, // TODO update app.TestFeatureGatedControllersShouldNotDefineAliases when removing this feature
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user