From 73a06b442edcab658e45d542e450601df770a91b Mon Sep 17 00:00:00 2001 From: Vince Prignano Date: Mon, 30 Oct 2023 12:26:10 -0700 Subject: [PATCH] CORS-2852: Add feature gate to install with Cluster API Signed-off-by: Vince Prignano --- 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 4c77ebd3892..665531be39c 100644 --- a/config/v1/feature_gates.go +++ b/config/v1/feature_gates.go @@ -321,4 +321,14 @@ var ( ResponsiblePerson: "cdoern", OwningProduct: ocpSpecific, } + + FeatureGateClusterAPIInstall = FeatureGateName("ClusterAPIInstall") + clusterAPIInstall = FeatureGateDescription{ + FeatureGateAttributes: FeatureGateAttributes{ + Name: FeatureGateClusterAPIInstall, + }, + OwningJiraComponent: "Installer", + ResponsiblePerson: "vincepri", + OwningProduct: ocpSpecific, + } ) diff --git a/config/v1/types_feature.go b/config/v1/types_feature.go index 139082653e8..bd4fdd73f07 100644 --- a/config/v1/types_feature.go +++ b/config/v1/types_feature.go @@ -183,6 +183,7 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{ with(adminNetworkPolicy). with(dnsNameResolver). with(machineConfigNodes). + with(clusterAPIInstall). toFeatures(defaultFeatures), LatencySensitive: newDefaultFeatures(). toFeatures(defaultFeatures),