diff --git a/libs/ui-lib/lib/common/components/clusterConfiguration/DownloadIso.tsx b/libs/ui-lib/lib/common/components/clusterConfiguration/DownloadIso.tsx index 2ba7e16b0c..a19f28719e 100644 --- a/libs/ui-lib/lib/common/components/clusterConfiguration/DownloadIso.tsx +++ b/libs/ui-lib/lib/common/components/clusterConfiguration/DownloadIso.tsx @@ -103,6 +103,8 @@ const DownloadIso = ({ } /> + + + {!isSingleClusterFeatureEnabled && typeof inactiveDeletionHours === 'number' && canDownloadKubeconfig(cluster.status) && ( + + 0 + ? `Download and save your kubeconfig file in a safe place. This file will be automatically ` + + `deleted from Assisted Installer's service in ${dateDifference} days.` + : `Kubeconfig file was automatically deleted ${inactiveDeletionDays} days after installation.` + } + /> + + )} + {showAddHostsAlert && ( + 0 - ? `Download and save your kubeconfig file in a safe place. This file will be automatically ` + - `deleted from Assisted Installer's service in ${dateDifference} days.` - : `Kubeconfig file was automatically deleted ${inactiveDeletionDays} days after installation.` +

+ {isClusterPlatformTypeVM(cluster) + ? 'Add new hosts by using the platform auto-scale feature or manually generating a new Discovery ISO under the "Add hosts" tab on ' + : 'Add new hosts by generating a new Discovery ISO under your cluster\'s "Add hosts" tab on '} + + console.redhat.com/openshift + + . +

} /> - )} - {showAddHostsAlert && ( - - {isClusterPlatformTypeVM(cluster) - ? 'Add new hosts by using the platform auto-scale feature or manually generating a new Discovery ISO under the "Add hosts" tab on ' - : 'Add new hosts by generating a new Discovery ISO under your cluster\'s "Add hosts" tab on '} - - console.redhat.com/openshift - - . -

- } - /> +
+ )} + {platformLink && ( + + + )} - {platformLink && } - +
); };