From e1b4d36d034159119aa33eb9497739e0070a3862 Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Fri, 2 Jun 2023 15:19:12 +0100 Subject: [PATCH] Add AlibabaPlatform feature gate to TechPreviewNoUpgrade --- 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 8c67e63695d..2c06da3cd3f 100644 --- a/config/v1/feature_gates.go +++ b/config/v1/feature_gates.go @@ -232,4 +232,14 @@ var ( ResponsiblePerson: "bhb", OwningProduct: ocpSpecific, } + + FeatureGateAlibabaPlatform = FeatureGateName("AlibabaPlatform") + alibabaPlatform = FeatureGateDescription{ + FeatureGateAttributes: FeatureGateAttributes{ + Name: FeatureGateAlibabaPlatform, + }, + OwningJiraComponent: "cloud-provider", + ResponsiblePerson: "jspeed", + OwningProduct: ocpSpecific, + } ) diff --git a/config/v1/types_feature.go b/config/v1/types_feature.go index c90e3e5c2bc..662c47ef15b 100644 --- a/config/v1/types_feature.go +++ b/config/v1/types_feature.go @@ -191,6 +191,7 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{ var defaultFeatures = &FeatureGateEnabledDisabled{ Enabled: []FeatureGateDescription{ openShiftPodSecurityAdmission, + alibabaPlatform, // This is a bug, it should be TechPreviewNoUpgrade. This must be downgraded before 4.14 is shipped. }, Disabled: []FeatureGateDescription{ retroactiveDefaultStorageClass,