From 46fa26bd3472574e45767bb24b14c5318dc6700b Mon Sep 17 00:00:00 2001 From: Marc Sluiter Date: Tue, 11 Jul 2023 10:58:10 +0200 Subject: [PATCH] Add MachineAPIOperatorDisableMachineHealthCheckController feature gate This feature gate is for disabling the MachineHealthCheck controller of Machine API operator, in order to let the NodeHealthcheck operator handle MachineHealthChecks. This is an incomplete feature atm, so it's not enabled in the TechPreviewNoUpgrade feature set yet. --- 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 33ed80b1d0a..939d1706542 100644 --- a/config/v1/feature_gates.go +++ b/config/v1/feature_gates.go @@ -291,4 +291,14 @@ var ( ResponsiblePerson: "hasbro17", OwningProduct: ocpSpecific, } + + FeatureGateMachineAPIOperatorDisableMachineHealthCheckController = FeatureGateName("MachineAPIOperatorDisableMachineHealthCheckController") + machineAPIOperatorDisableMachineHealthCheckController = FeatureGateDescription{ + FeatureGateAttributes: FeatureGateAttributes{ + Name: FeatureGateMachineAPIOperatorDisableMachineHealthCheckController, + }, + OwningJiraComponent: "ecoproject", + ResponsiblePerson: "msluiter", + OwningProduct: ocpSpecific, + } ) diff --git a/config/v1/types_feature.go b/config/v1/types_feature.go index 9b4045cd9bd..d6997ecdbae 100644 --- a/config/v1/types_feature.go +++ b/config/v1/types_feature.go @@ -186,6 +186,7 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{ with(vSphereStaticIPs). with(routeExternalCertificate). with(automatedEtcdBackup). + without(machineAPIOperatorDisableMachineHealthCheckController). toFeatures(defaultFeatures), LatencySensitive: newDefaultFeatures(). toFeatures(defaultFeatures),