From 7d9df7e142400f299b1d2bffef3fcd67df2e0b67 Mon Sep 17 00:00:00 2001 From: Patrick Dillon Date: Tue, 23 Apr 2024 14:25:24 -0400 Subject: [PATCH] features: add capi-installer gate per platform Adds a capi-installer feature gate for each platform. --- features.md | 8 +++ features/features.go | 49 +++++++++++++++++++ .../featureGate-Hypershift-Default.yaml | 24 +++++++++ ...reGate-Hypershift-DevPreviewNoUpgrade.yaml | 24 +++++++++ ...eGate-Hypershift-TechPreviewNoUpgrade.yaml | 24 +++++++++ .../featureGate-SelfManagedHA-Default.yaml | 24 +++++++++ ...ate-SelfManagedHA-DevPreviewNoUpgrade.yaml | 24 +++++++++ ...te-SelfManagedHA-TechPreviewNoUpgrade.yaml | 24 +++++++++ 8 files changed, 201 insertions(+) diff --git a/features.md b/features.md index b9000e90eb9..c32db0ea35b 100644 --- a/features.md +++ b/features.md @@ -1,6 +1,14 @@ | FeatureGate | Default on Hypershift | Default on SelfManagedHA | DevPreviewNoUpgrade on Hypershift | DevPreviewNoUpgrade on SelfManagedHA | TechPreviewNoUpgrade on Hypershift | TechPreviewNoUpgrade on SelfManagedHA | | ------ | --- | --- | --- | --- | --- | --- | | ClusterAPIInstall| | | | | | | +| ClusterAPIInstallAWS| | | | | | | +| ClusterAPIInstallAzure| | | | | | | +| ClusterAPIInstallGCP| | | | | | | +| ClusterAPIInstallIBMCloud| | | | | | | +| ClusterAPIInstallNutanix| | | | | | | +| ClusterAPIInstallOpenStack| | | | | | | +| ClusterAPIInstallPowerVS| | | | | | | +| ClusterAPIInstallVSphere| | | | | | | | EventedPLEG| | | | | | | | MachineAPIOperatorDisableMachineHealthCheckController| | | | | | | | AutomatedEtcdBackup| | | Enabled | Enabled | Enabled | Enabled | diff --git a/features/features.go b/features/features.go index 04a17ca833e..2bfe032bb03 100644 --- a/features/features.go +++ b/features/features.go @@ -2,6 +2,7 @@ package features import ( "fmt" + configv1 "github.com/openshift/api/config/v1" ) @@ -459,4 +460,52 @@ var ( productScope(ocpSpecific). enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). mustRegister() + + FeatureGateClusterAPIInstallAWS = newFeatureGate("ClusterAPIInstallAWS"). + reportProblemsToJiraComponent("Installer"). + contactPerson("r4f4"). + productScope(ocpSpecific). + mustRegister() + + FeatureGateClusterAPIInstallAzure = newFeatureGate("ClusterAPIInstallAzure"). + reportProblemsToJiraComponent("Installer"). + contactPerson("jhixson74"). + productScope(ocpSpecific). + mustRegister() + + FeatureGateClusterAPIInstallGCP = newFeatureGate("ClusterAPIInstallGCP"). + reportProblemsToJiraComponent("Installer"). + contactPerson("bfournie"). + productScope(ocpSpecific). + mustRegister() + + FeatureGateClusterAPIInstallIBMCloud = newFeatureGate("ClusterAPIInstallIBMCloud"). + reportProblemsToJiraComponent("Installer"). + contactPerson("cjschaef"). + productScope(ocpSpecific). + mustRegister() + + FeatureGateClusterAPIInstallNutanix = newFeatureGate("ClusterAPIInstallNutanix"). + reportProblemsToJiraComponent("Installer"). + contactPerson("yanhua121"). + productScope(ocpSpecific). + mustRegister() + + FeatureGateClusterAPIInstallOpenStack = newFeatureGate("ClusterAPIInstallOpenStack"). + reportProblemsToJiraComponent("Installer"). + contactPerson("stephenfin"). + productScope(ocpSpecific). + mustRegister() + + FeatureGateClusterAPIInstallPowerVS = newFeatureGate("ClusterAPIInstallPowerVS"). + reportProblemsToJiraComponent("Installer"). + contactPerson("mjturek"). + productScope(ocpSpecific). + mustRegister() + + FeatureGateClusterAPIInstallVSphere = newFeatureGate("ClusterAPIInstallVSphere"). + reportProblemsToJiraComponent("Installer"). + contactPerson("rvanderp3"). + productScope(ocpSpecific). + mustRegister() ) diff --git a/payload-manifests/featuregates/featureGate-Hypershift-Default.yaml b/payload-manifests/featuregates/featureGate-Hypershift-Default.yaml index 53fde4efb35..dba02c5e50c 100644 --- a/payload-manifests/featuregates/featureGate-Hypershift-Default.yaml +++ b/payload-manifests/featuregates/featureGate-Hypershift-Default.yaml @@ -22,6 +22,30 @@ { "name": "ClusterAPIInstall" }, + { + "name": "ClusterAPIInstallAWS" + }, + { + "name": "ClusterAPIInstallAzure" + }, + { + "name": "ClusterAPIInstallGCP" + }, + { + "name": "ClusterAPIInstallIBMCloud" + }, + { + "name": "ClusterAPIInstallNutanix" + }, + { + "name": "ClusterAPIInstallOpenStack" + }, + { + "name": "ClusterAPIInstallPowerVS" + }, + { + "name": "ClusterAPIInstallVSphere" + }, { "name": "DNSNameResolver" }, diff --git a/payload-manifests/featuregates/featureGate-Hypershift-DevPreviewNoUpgrade.yaml b/payload-manifests/featuregates/featureGate-Hypershift-DevPreviewNoUpgrade.yaml index 12baccb0302..6b8f8fd02cd 100644 --- a/payload-manifests/featuregates/featureGate-Hypershift-DevPreviewNoUpgrade.yaml +++ b/payload-manifests/featuregates/featureGate-Hypershift-DevPreviewNoUpgrade.yaml @@ -18,6 +18,30 @@ { "name": "ClusterAPIInstall" }, + { + "name": "ClusterAPIInstallAWS" + }, + { + "name": "ClusterAPIInstallAzure" + }, + { + "name": "ClusterAPIInstallGCP" + }, + { + "name": "ClusterAPIInstallIBMCloud" + }, + { + "name": "ClusterAPIInstallNutanix" + }, + { + "name": "ClusterAPIInstallOpenStack" + }, + { + "name": "ClusterAPIInstallPowerVS" + }, + { + "name": "ClusterAPIInstallVSphere" + }, { "name": "EventedPLEG" }, diff --git a/payload-manifests/featuregates/featureGate-Hypershift-TechPreviewNoUpgrade.yaml b/payload-manifests/featuregates/featureGate-Hypershift-TechPreviewNoUpgrade.yaml index c4ef5de18b1..024178a1eea 100644 --- a/payload-manifests/featuregates/featureGate-Hypershift-TechPreviewNoUpgrade.yaml +++ b/payload-manifests/featuregates/featureGate-Hypershift-TechPreviewNoUpgrade.yaml @@ -18,6 +18,30 @@ { "name": "ClusterAPIInstall" }, + { + "name": "ClusterAPIInstallAWS" + }, + { + "name": "ClusterAPIInstallAzure" + }, + { + "name": "ClusterAPIInstallGCP" + }, + { + "name": "ClusterAPIInstallIBMCloud" + }, + { + "name": "ClusterAPIInstallNutanix" + }, + { + "name": "ClusterAPIInstallOpenStack" + }, + { + "name": "ClusterAPIInstallPowerVS" + }, + { + "name": "ClusterAPIInstallVSphere" + }, { "name": "EventedPLEG" }, diff --git a/payload-manifests/featuregates/featureGate-SelfManagedHA-Default.yaml b/payload-manifests/featuregates/featureGate-SelfManagedHA-Default.yaml index 587862f00d4..e37c690f367 100644 --- a/payload-manifests/featuregates/featureGate-SelfManagedHA-Default.yaml +++ b/payload-manifests/featuregates/featureGate-SelfManagedHA-Default.yaml @@ -22,6 +22,30 @@ { "name": "ClusterAPIInstall" }, + { + "name": "ClusterAPIInstallAWS" + }, + { + "name": "ClusterAPIInstallAzure" + }, + { + "name": "ClusterAPIInstallGCP" + }, + { + "name": "ClusterAPIInstallIBMCloud" + }, + { + "name": "ClusterAPIInstallNutanix" + }, + { + "name": "ClusterAPIInstallOpenStack" + }, + { + "name": "ClusterAPIInstallPowerVS" + }, + { + "name": "ClusterAPIInstallVSphere" + }, { "name": "DNSNameResolver" }, diff --git a/payload-manifests/featuregates/featureGate-SelfManagedHA-DevPreviewNoUpgrade.yaml b/payload-manifests/featuregates/featureGate-SelfManagedHA-DevPreviewNoUpgrade.yaml index 38120adfa40..27d2df80a96 100644 --- a/payload-manifests/featuregates/featureGate-SelfManagedHA-DevPreviewNoUpgrade.yaml +++ b/payload-manifests/featuregates/featureGate-SelfManagedHA-DevPreviewNoUpgrade.yaml @@ -18,6 +18,30 @@ { "name": "ClusterAPIInstall" }, + { + "name": "ClusterAPIInstallAWS" + }, + { + "name": "ClusterAPIInstallAzure" + }, + { + "name": "ClusterAPIInstallGCP" + }, + { + "name": "ClusterAPIInstallIBMCloud" + }, + { + "name": "ClusterAPIInstallNutanix" + }, + { + "name": "ClusterAPIInstallOpenStack" + }, + { + "name": "ClusterAPIInstallPowerVS" + }, + { + "name": "ClusterAPIInstallVSphere" + }, { "name": "EventedPLEG" }, diff --git a/payload-manifests/featuregates/featureGate-SelfManagedHA-TechPreviewNoUpgrade.yaml b/payload-manifests/featuregates/featureGate-SelfManagedHA-TechPreviewNoUpgrade.yaml index c84910980c2..0341aca7a10 100644 --- a/payload-manifests/featuregates/featureGate-SelfManagedHA-TechPreviewNoUpgrade.yaml +++ b/payload-manifests/featuregates/featureGate-SelfManagedHA-TechPreviewNoUpgrade.yaml @@ -18,6 +18,30 @@ { "name": "ClusterAPIInstall" }, + { + "name": "ClusterAPIInstallAWS" + }, + { + "name": "ClusterAPIInstallAzure" + }, + { + "name": "ClusterAPIInstallGCP" + }, + { + "name": "ClusterAPIInstallIBMCloud" + }, + { + "name": "ClusterAPIInstallNutanix" + }, + { + "name": "ClusterAPIInstallOpenStack" + }, + { + "name": "ClusterAPIInstallPowerVS" + }, + { + "name": "ClusterAPIInstallVSphere" + }, { "name": "EventedPLEG" },