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 29, 2023
1 parent e1845c5 commit 822316e
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 @@ -351,4 +351,14 @@ var (
ResponsiblePerson: "barbacbd",
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 @@ -186,6 +186,7 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{
with(metricsServer).
with(installAlternateInfrastructureAWS).
without(clusterAPIInstall).
with(managedBootImages).
toFeatures(defaultFeatures),
LatencySensitive: newDefaultFeatures().
toFeatures(defaultFeatures),
Expand Down

0 comments on commit 822316e

Please sign in to comment.