File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 24
24
$ oc login
25
25
----
26
26
27
- .Example: Log in specifying a user name and password
27
+ .Example: Log in specifying a user name
28
28
----
29
- $ oc login -u user1 -p mypassword
29
+ $ oc login -u user1
30
30
----
31
31
32
32
== new-app
Original file line number Diff line number Diff line change @@ -25,10 +25,11 @@ users can authenticate.
25
25
26
26
.Procedure
27
27
28
- . Log in to the cluster as the `kube-admin` user:
28
+ . Log in to the cluster as the `kube-admin` user, entering the password
29
+ when prompted:
29
30
+
30
31
----
31
- $ oc login -u kubeadmin -p <password>
32
+ $ oc login -u kubeadmin
32
33
----
33
34
34
35
. Apply the defined CR:
@@ -37,10 +38,11 @@ $ oc login -u kubeadmin -p <password>
37
38
$ oc apply -f </path/to/CR>
38
39
----
39
40
40
- . Log in to the cluster as a user from your identity provider.
41
+ . Log in to the cluster as a user from your identity provider, entering the
42
+ password when prompted.
41
43
+
42
44
----
43
- $ oc login -u <username> -p <password>
45
+ $ oc login -u <username>
44
46
----
45
47
46
48
. Confirm that the user logged in successfully, and display the user name.
You can’t perform that action at this time.
0 commit comments