CustomNoUpgrade should not fire no-upgrade failures
Fixup of
The commit that is being fixed-up introduced a check against a message
that is not implemented anywhere, thus rendering the function
`isKubeAPIUpgradableNoUpgradeCondition` unusable.
This patch removes the check on the condition message.
@@ -259,6 +259,5 @@ func isKubeAPIUpgradableNoUpgradeCondition(cond configv1.ClusterOperatorStatusCo
return (cond.Reason == "FeatureGates_RestrictedFeatureGates_TechPreviewNoUpgrade" ||
cond.Reason == "FeatureGates_RestrictedFeatureGates_CustomNoUpgrade") &&
cond.Status == "False" &&
- cond.Type == "Upgradeable" &&
- cond.Message == "FeatureGatesUpgradeable: \"TechPreviewNoUpgrade\" and \"CustomNoUpgrades\" do not allow updates"
+ cond.Type == "Upgradeable"
}
