From 8007ac4282e499cc135596cccaf26d53fd03f459 Mon Sep 17 00:00:00 2001 From: Montse Ortega Date: Fri, 31 Oct 2025 13:46:32 +0100 Subject: [PATCH] MGMT-22080: Allow users to install Openshift AI as standalone operator in SNO clusters --- .../lib/ocm/components/clusterWizard/OperatorsBundle.tsx | 4 +++- .../ocm/components/featureSupportLevels/featureStateUtils.ts | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ui-lib/lib/ocm/components/clusterWizard/OperatorsBundle.tsx b/libs/ui-lib/lib/ocm/components/clusterWizard/OperatorsBundle.tsx index 51e4cbbff1..86b05a1fd4 100644 --- a/libs/ui-lib/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +++ b/libs/ui-lib/lib/ocm/components/clusterWizard/OperatorsBundle.tsx @@ -106,7 +106,9 @@ const BundleCard = ({ const disabledReason = hasUnsupportedOperators ? 'Some operators in this bundle are not supported with the current configuration.' : isSNO && bundleSpec?.noSNO - ? 'This bundle is not available when deploying a Single Node OpenShift.' + ? bundle.id === 'openshift-ai' + ? 'This bundle is not available when deploying a Single Node OpenShift, but you can use the standalone operator instead.' + : 'This bundle is not available when deploying a Single Node OpenShift.' : incompatibleBundle ? `Bundle cannot be installed together with ${ bundles.find(({ id }) => id === incompatibleBundle)?.title || incompatibleBundle diff --git a/libs/ui-lib/lib/ocm/components/featureSupportLevels/featureStateUtils.ts b/libs/ui-lib/lib/ocm/components/featureSupportLevels/featureStateUtils.ts index 856273153d..6d38fee98b 100644 --- a/libs/ui-lib/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +++ b/libs/ui-lib/lib/ocm/components/featureSupportLevels/featureStateUtils.ts @@ -294,9 +294,7 @@ const getOpenShiftAIDisabledReason = ( if (isArm) { return `${operatorTitle} is not available when ARM CPU architecture is selected.`; } - if (isSNO(cluster)) { - return `${operatorTitle} is not available when deploying a Single Node OpenShift.`; - } + if (!isSupported) { return `The installer cannot currently enable ${operatorTitle} with the selected OpenShift version, but it can be enabled later through the OpenShift Console once the installation is complete.`; }