Skip to content

Commit

Permalink
Add ImagePolicy feature gate
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <[email protected]>
  • Loading branch information
saschagrunert committed May 25, 2023
1 parent f6e7dff commit ba662d8
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 @@ -202,4 +202,14 @@ var (
ResponsiblePerson: "miciah",
OwningProduct: ocpSpecific,
}

FeatureGateImagePolicy = FeatureGateName("ImagePolicy")
imagePolicy = FeatureGateDescription{
FeatureGateAttributes: FeatureGateAttributes{
Name: FeatureGateImagePolicy,
},
OwningJiraComponent: "node",
ResponsiblePerson: "sgrunert",
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 @@ -180,6 +180,7 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{
with(gateGatewayAPI).
with(maxUnavailableStatefulSet).
with(privateHostedZoneAWS).
with(imagePolicy).
toFeatures(defaultFeatures),
LatencySensitive: newDefaultFeatures().
toFeatures(defaultFeatures),
Expand Down

0 comments on commit ba662d8

Please sign in to comment.