1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/getting-started-web-console-granting-permissions.adoc
2023-10-30 10:13:25 -04:00

31 lines
1.3 KiB
Plaintext

// Module included in the following assemblies:
//
// * getting-started/openshift-web-console.adoc
:_mod-docs-content-type: PROCEDURE
[id="getting-started-web-console-granting-permissions_{context}"]
= Granting view permissions
{product-title} automatically creates a few special service accounts in every project. The default service account takes responsibility for running the pods. {product-title} uses and injects this service account into every pod that launches.
The following procedure creates a `RoleBinding` object for the default `ServiceAccount` object. The service account communicates with the {product-title} API to learn about pods, services, and resources within the project.
.Prerequisites
* You are logged in to the {product-title} web console.
* You have a deployed image.
* You are in the *Administrator* perspective.
.Procedure
. Navigate to *User Management* and then click *RoleBindings*.
. Click *Create binding*.
. Select `Namespace role binding (RoleBinding)`.
. In the *Name* field, enter `sa-user-account`.
. In the *Namespace* field, search for and select `user-getting-started`.
. In the *Role name* field, search for `view` and select `view`.
. In the *Subject* field, select `ServiceAccount`.
. In the *Subject namespace* field, search for and select `user-getting-started`.
. In the *Subject name* field, enter `default`.
. Click *Create*.