From 7aa542460182850819eac79a35c20b49a08b30ca Mon Sep 17 00:00:00 2001 From: Dalia Khater Date: Tue, 5 Dec 2023 12:43:57 -0600 Subject: [PATCH] Added Feature Gate for On Cluster Build --- config/v1/feature_gates.go | 10 ++++++++++ config/v1/types_feature.go | 1 + 2 files changed, 11 insertions(+) diff --git a/config/v1/feature_gates.go b/config/v1/feature_gates.go index 5f323eb68da..8c5c064f169 100644 --- a/config/v1/feature_gates.go +++ b/config/v1/feature_gates.go @@ -391,4 +391,14 @@ var ( ResponsiblePerson: "jspeed", OwningProduct: kubernetes, } + + FeatureGateOnClusterBuild = FeatureGateName("OnClusterBuild") + onClusterBuild = FeatureGateDescription{ + FeatureGateAttributes: FeatureGateAttributes{ + Name: FeatureGateOnClusterBuild, + }, + OwningJiraComponent: "MachineConfigOperator", + ResponsiblePerson: "dkhater", + OwningProduct: ocpSpecific, + } ) diff --git a/config/v1/types_feature.go b/config/v1/types_feature.go index 55a23b3986e..67db97450d5 100644 --- a/config/v1/types_feature.go +++ b/config/v1/types_feature.go @@ -192,6 +192,7 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{ with(mixedCPUsAllocation). with(managedBootImages). without(disableKubeletCloudCredentialProviders). + with(onClusterBuild). toFeatures(defaultFeatures), LatencySensitive: newDefaultFeatures(). toFeatures(defaultFeatures),