Skip to content

Commit

Permalink
Fixes crc-org#56 Alternative pull-secret info dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
gbraad committed May 10, 2023
1 parent 3906de5 commit 1ff30fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/crc-start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ export async function startCrc(
}

async function askAndStorePullSecret(logger: extensionApi.Logger): Promise<boolean> {
extensionApi.window.showInformationMessage(
`To pull container images from the registry, a pull secret is necessary. You can get a pull secret from the Red Hat OpenShift Local download page by navigating to the dashboard and clicking the "Obtain pull-secret" or opening the following address in your browser https://cloud.redhat.com/openshift/create/local
Use the "Copy pull secret" option and paste the content. You need to provide this in the input prompt shown after clicking "Continue".`,
'Continue',
);

const pullSecret = await extensionApi.window.showInputBox({
prompt: 'Provide a pull secret',
// prompt: 'To pull container images from the registry, a pull secret is necessary.',
Expand Down

0 comments on commit 1ff30fa

Please sign in to comment.