Skip to content

Commit 17751e4

Browse files
authored
add clusterprofile featuregate (#340)
Signed-off-by: haoqing0110 <[email protected]>
1 parent a19871c commit 17751e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

feature/feature.go

+4
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ const (
7777

7878
// MultipleHubs allows user to configure multiple bootstrapkubeconfig connecting to different hubs via Klusterlet and let agent decide which one to use
7979
MultipleHubs featuregate.Feature = "MultipleHubs"
80+
81+
// ClusterProfile will start new controller in the Hub that can be used to sync ManagedCluster to ClusterProfile.
82+
ClusterProfile featuregate.Feature = "ClusterProfile"
8083
)
8184

8285
// DefaultSpokeRegistrationFeatureGates consists of all known ocm-registration
@@ -97,6 +100,7 @@ var DefaultHubRegistrationFeatureGates = map[featuregate.Feature]featuregate.Fea
97100
V1beta1CSRAPICompatibility: {Default: false, PreRelease: featuregate.Alpha},
98101
ManagedClusterAutoApproval: {Default: false, PreRelease: featuregate.Alpha},
99102
ResourceCleanup: {Default: false, PreRelease: featuregate.Alpha},
103+
ClusterProfile: {Default: false, PreRelease: featuregate.Alpha},
100104
}
101105

102106
var DefaultHubAddonManagerFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{

0 commit comments

Comments
 (0)