Skip to content

Commit

Permalink
Merge pull request #1200 from dewan-ahmed/dewan-springstarter-upgrade-47
Browse files Browse the repository at this point in the history
Removing oc login command since user is already authenticated
  • Loading branch information
ryanj authored Jun 21, 2021
2 parents c1f1558 + 107843e commit de13ae1
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,9 @@ OpenShift also ships with a feature rich web console as well as command line too

**1. Login to OpenShift Container Platform**

To login, we will use the `oc` command and then specify username and password like this:
This sandbox has already authenticated you to OpenShift. To validate, we will use the `oc whoami` command:

``oc login [[HOST_SUBDOMAIN]]-6443-[[KATACODA_HOST]].environments.katacoda.com --insecure-skip-tls-verify=true -u developer -p developer``{{execute}}

Congratulations, you are now authenticated to the OpenShift server.

>**IMPORTANT:** If the above `oc login` command doesn't seem to do anything, you may have forgotten to stop the application from the previous
step. Click on the terminal and press <kbd>CTRL</kbd>+<kbd>C</kbd> to stop the application and try the above `oc login` command again!
``oc whoami``{{execute}}

**2. Create project**

Expand Down

0 comments on commit de13ae1

Please sign in to comment.