Skip to content

Commit

Permalink
Add SwitchHub in the feature gate list. (#331)
Browse files Browse the repository at this point in the history
Signed-off-by: xuezhaojun <[email protected]>
  • Loading branch information
xuezhaojun authored May 21, 2024
1 parent 076d6dd commit 9d94703
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions feature/feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ const (

// ResourceCleanup will start gc controller to clean up resources in cluster ns after cluster is deleted.
ResourceCleanup featuregate.Feature = "ResourceCleanup"

// MultipleHubs allows user to configure multiple bootstrapkubeconfig connecting to different hubs via Klusterlet and let agent decide which one to use
MultipleHubs featuregate.Feature = "MultipleHubs"
)

// DefaultSpokeRegistrationFeatureGates consists of all known ocm-registration
Expand All @@ -83,6 +86,7 @@ var DefaultSpokeRegistrationFeatureGates = map[featuregate.Feature]featuregate.F
ClusterClaim: {Default: true, PreRelease: featuregate.Beta},
AddonManagement: {Default: true, PreRelease: featuregate.Alpha},
V1beta1CSRAPICompatibility: {Default: false, PreRelease: featuregate.Alpha},
MultipleHubs: {Default: false, PreRelease: featuregate.Alpha},
}

// DefaultHubRegistrationFeatureGates consists of all known ocm-registration
Expand Down

0 comments on commit 9d94703

Please sign in to comment.