Skip to content

Commit a758328

Browse files
authoredMar 23, 2018
Merge pull request #8285 from adellape/apb_permissions
Bug 1557349: Add APB tool user permission reqs for 3.7
2 parents fb7fa7e + 5924b0b commit a758328

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
 

‎apb_devel/cli_tooling.adoc

+25
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,33 @@ takes care of the details so they should be easy to deploy.
2424
[[apb-devel-cli-install-prereqs]]
2525
=== Prerequisites
2626

27+
[[apb-devel-cli-install-prereqs-docker]]
28+
==== Docker Daemon
29+
2730
The `docker` daemon must be correctly installed and running on the system.
2831

32+
[[apb-devel-cli-install-prereqs-access-permissions]]
33+
==== Access Permissions
34+
35+
You must be logged in via `oc` as a user with *cluster-admin* permissions:
36+
37+
----
38+
$ oc login -u <user> <openshift_server>
39+
----
40+
41+
To add this role to another user, you can run the following as a user that
42+
already has such permissions (for example, the *system:admin* default system
43+
user):
44+
45+
----
46+
$ oc adm policy \
47+
add-cluster-role-to-user \
48+
cluster-admin <user>
49+
----
50+
51+
This permission requirement is so that the development lifecycle of the `apb`
52+
tool can function.
53+
2954
ifdef::openshift-origin[]
3055
[[apb-devel-cli-install-containerized]]
3156
=== Running From a Container

0 commit comments

Comments
 (0)