@@ -80,14 +80,17 @@ const (
80
80
81
81
// ClusterProfile will start new controller in the Hub that can be used to sync ManagedCluster to ClusterProfile.
82
82
ClusterProfile featuregate.Feature = "ClusterProfile"
83
+
84
+ // ClusterImporter will enable the auto import of managed cluster for certain cluster providers, e.g. cluster-api.
85
+ ClusterImporter featuregate.Feature = "ClusterImporter"
83
86
)
84
87
85
88
// DefaultSpokeRegistrationFeatureGates consists of all known ocm-registration
86
89
// feature keys for registration agent. To add a new feature, define a key for it above and
87
90
// add it here.
88
91
var DefaultSpokeRegistrationFeatureGates = map [featuregate.Feature ]featuregate.FeatureSpec {
89
92
ClusterClaim : {Default : true , PreRelease : featuregate .Beta },
90
- AddonManagement : {Default : true , PreRelease : featuregate .Alpha },
93
+ AddonManagement : {Default : true , PreRelease : featuregate .Beta },
91
94
V1beta1CSRAPICompatibility : {Default : false , PreRelease : featuregate .Alpha },
92
95
MultipleHubs : {Default : false , PreRelease : featuregate .Alpha },
93
96
}
@@ -101,10 +104,11 @@ var DefaultHubRegistrationFeatureGates = map[featuregate.Feature]featuregate.Fea
101
104
ManagedClusterAutoApproval : {Default : false , PreRelease : featuregate .Alpha },
102
105
ResourceCleanup : {Default : false , PreRelease : featuregate .Alpha },
103
106
ClusterProfile : {Default : false , PreRelease : featuregate .Alpha },
107
+ ClusterImporter : {Default : false , PreRelease : featuregate .Alpha },
104
108
}
105
109
106
110
var DefaultHubAddonManagerFeatureGates = map [featuregate.Feature ]featuregate.FeatureSpec {
107
- AddonManagement : {Default : true , PreRelease : featuregate .Alpha },
111
+ AddonManagement : {Default : true , PreRelease : featuregate .Beta },
108
112
}
109
113
110
114
// DefaultHubWorkFeatureGates consists of all known acm work wehbook feature keys.
0 commit comments