File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -312,12 +312,13 @@ func surprisingConditions(co objx.Map) ([]configv1.ClusterOperatorStatusConditio
312312 return badConditions , missingTypes
313313}
314314
315- // When a TechPreviewNoUpgrade or CustomNoUpgrades feature set are in force in the cluster, the following condition
315+ // When a TechPreviewNoUpgrade, DevPreviewNoUpgrade or CustomNoUpgrades feature set are in force in the cluster, the following condition
316316// is set on the kube-apiserver and/or the cluster-config clusteroperator
317317// Ref: https://github.com/openshift/cluster-kube-apiserver-operator/blob/39a98d67c3b825b9215454a7817ffadb0577609b/pkg/operator/featureupgradablecontroller/feature_upgradeable_controller_test.go#L41-L46
318318func isUpgradableNoUpgradeCondition (cond configv1.ClusterOperatorStatusCondition ) bool {
319319 return (cond .Reason == "FeatureGates_RestrictedFeatureGates_TechPreviewNoUpgrade" ||
320- cond .Reason == "FeatureGates_RestrictedFeatureGates_CustomNoUpgrade" ) &&
320+ cond .Reason == "FeatureGates_RestrictedFeatureGates_CustomNoUpgrade" ||
321+ cond .Reason == "FeatureGates_RestrictedFeatureGates_DevPreviewNoUpgrade" ) &&
321322 cond .Status == "False" &&
322323 cond .Type == "Upgradeable"
323324}
You can’t perform that action at this time.
0 commit comments