From d02903fe30336813cad3f79eb910109cf7ebf50d Mon Sep 17 00:00:00 2001 From: Andy Munro Date: Fri, 20 Mar 2020 14:25:05 -0400 Subject: [PATCH] KEYCLOAK-13280 Removing sentence that adds confusion. KEYCLOAK-13280 addressing input from Jan --- openshift/topics/get_started.adoc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/openshift/topics/get_started.adoc b/openshift/topics/get_started.adoc index a012452e70..1fe445fd97 100644 --- a/openshift/topics/get_started.adoc +++ b/openshift/topics/get_started.adoc @@ -20,14 +20,23 @@ To create a Registry Service Account, navigate to the link:https://access.redhat See the link:https://access.redhat.com/RegistryAuthentication[Red Hat Container Registry Authentication] article for more information. ==== -To update to the latest {project_openshift_product_name} images, run the following commands: +. Ensure that you are logged in as a cluster administrator or a user with project administrator access to the global openshift project: -. On your master host(s), ensure that you are logged in as a cluster administrator or a user with project administrator access to the global `openshift` project. +. Choose a command based on your version of OpenShift Container Platform. + +.. If you are running an OpenShift Container Platform v3 based cluster instance on (some) of your master host(s), perform the following: + [source,bash,subs="attributes+,macros+"] ---- $ oc login -u system:admin ---- +.. If you are running an OpenShift Container Platform v4 based cluster instance, link:https://docs.openshift.com/container-platform/latest/cli_reference/openshift_cli/getting-started-cli.html#cli-logging-in_cli-developer-commands[log in to the CLI] as the link:https://docs.openshift.com/container-platform/latest/authentication/remove-kubeadmin.html#understanding-kubeadmin_removing-kubeadmin[kubeadmin] user: ++ +[source,bash,subs="attributes+,macros+"] +---- +$ oc login -u kubeadmin -p password \https://openshift.example.com:6443 +---- + . Run the following commands to update the core set of {project_name} {project_version} resources for OpenShift in the `openshift` project: + [source,bash,subs="attributes+,macros+"]