Skip to content

Commit

Permalink
add feature gate for MCO boot images updates
Browse files Browse the repository at this point in the history
  • Loading branch information
djoshy committed Nov 10, 2023
1 parent e54cd96 commit f5da7de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/v1/feature_gates.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,4 +341,14 @@ var (
ResponsiblePerson: "padillon",
OwningProduct: ocpSpecific,
}

FeatureGateManagedBootImages = FeatureGateName("ManagedBootImages")
managedBootImages = FeatureGateDescription{
FeatureGateAttributes: FeatureGateAttributes{
Name: FeatureGateManagedBootImages,
},
OwningJiraComponent: "MachineConfigOperator",
ResponsiblePerson: "djoshy",
OwningProduct: ocpSpecific,
}
)
1 change: 1 addition & 0 deletions config/v1/types_feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{
with(machineConfigNodes).
with(clusterAPIInstall).
with(metricsServer).
with(managedBootImages).
toFeatures(defaultFeatures),
LatencySensitive: newDefaultFeatures().
toFeatures(defaultFeatures),
Expand Down

0 comments on commit f5da7de

Please sign in to comment.