From 7cd0bc7cacb1b3376a275d933abafb27d767e84b Mon Sep 17 00:00:00 2001 From: Prakash Senthil Vel <23444145+prakashsvmx@users.noreply.github.com> Date: Wed, 16 Nov 2022 23:06:21 +0530 Subject: [PATCH] update airgap registration steps and instructions (#2463) --- .../src/screens/Console/Support/Register.tsx | 121 +++++------------- 1 file changed, 29 insertions(+), 92 deletions(-) diff --git a/portal-ui/src/screens/Console/Support/Register.tsx b/portal-ui/src/screens/Console/Support/Register.tsx index be25a6ae6..288bbc255 100644 --- a/portal-ui/src/screens/Console/Support/Register.tsx +++ b/portal-ui/src/screens/Console/Support/Register.tsx @@ -64,6 +64,8 @@ import Tab from "@mui/material/Tab"; import { TabPanel } from "../../shared/tabs"; import { ClusterRegistered, FormTitle, ProxyConfiguration } from "./utils"; import ApiKeyRegister from "./ApiKeyRegister"; +import CopyToClipboard from "react-copy-to-clipboard"; +import TooltipWrapper from "../Common/TooltipWrapper/TooltipWrapper"; interface IRegister { classes: any; } @@ -620,6 +622,7 @@ const Register = ({ classes }: IRegister) => { ); + const offlineRegUrl = `https://subnet.min.io/cluster/register?token=${subnetRegToken}`; const offlineRegistration = ( { > -
1
{" "}
- Copy the following registration token + Click on the link to register this cluster in SUBNET
- {}} - value={subnetRegToken} - overlayIcon={} - extraInputProps={{ - readOnly: true, - }} - overlayAction={() => - navigator.clipboard.writeText(subnetRegToken) - } - /> - -
- - - -
2
-
- Navigate to SUBNET and register your cluster -
-
- - https://subnet.min.io/cluster/register - -
- - -
3
{" "} -
- Enter the API key generated by SUBNET -
+ + +