@@ -47,7 +47,6 @@ type MachineConfigurationSpec struct {
4747 // and the platform is left to choose a reasonable default, which is subject to change over time.
4848 // The default for each machine manager mode is All for GCP and AWS platforms, and None for all
4949 // other platforms.
50- // +openshift:enable:FeatureGate=ManagedBootImages
5150 // +optional
5251 ManagedBootImages ManagedBootImages `json:"managedBootImages"`
5352
@@ -288,7 +287,6 @@ type MachineConfigurationStatus struct {
288287
289288 // managedBootImagesStatus reflects what the latest cluster-validated boot image configuration is
290289 // and will be used by Machine Config Controller while performing boot image updates.
291- // +openshift:enable:FeatureGate=ManagedBootImages
292290 // +optional
293291 ManagedBootImagesStatus ManagedBootImages `json:"managedBootImagesStatus"`
294292
@@ -367,7 +365,7 @@ type ManagedBootImages struct {
367365
368366// MachineManager describes a target machine resource that is registered for boot image updates. It stores identifying information
369367// such as the resource type and the API Group of the resource. It also provides granular control via the selection field.
370- // +openshift:validation:FeatureGateAwareXValidation:requiredFeatureGate=ManagedBootImages; ManagedBootImagesCPMS,rule="self.resource != 'controlplanemachinesets' || self.selection.mode == 'All' || self.selection.mode == 'None'", message="Only All or None selection mode is permitted for ControlPlaneMachineSets"
368+ // +openshift:validation:FeatureGateAwareXValidation:requiredFeatureGate=ManagedBootImagesCPMS,rule="self.resource != 'controlplanemachinesets' || self.selection.mode == 'All' || self.selection.mode == 'None'", message="Only All or None selection mode is permitted for ControlPlaneMachineSets"
371369type MachineManager struct {
372370 // resource is the machine management resource's type.
373371 // Valid values are machinesets and controlplanemachinesets.
@@ -431,8 +429,8 @@ const (
431429
432430// MachineManagerManagedResourceType is a string enum used in the MachineManager type to describe the resource
433431// type to be registered.
434- // +openshift :validation:FeatureGateAwareEnum:requiredFeatureGate=ManagedBootImages,enum= machinesets
435- // +openshift:validation:FeatureGateAwareEnum:requiredFeatureGate=ManagedBootImages; ManagedBootImagesCPMS,enum=machinesets;controlplanemachinesets
432+ // +kubebuilder :validation:Enum:=" machinesets"
433+ // +openshift:validation:FeatureGateAwareEnum:requiredFeatureGate=ManagedBootImagesCPMS,enum=machinesets;controlplanemachinesets
436434type MachineManagerMachineSetsResourceType string
437435
438436const (
0 commit comments