mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
OBSDOCS-1285: Enhance the section about granting monitoring roles/cluster roles
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
49c6966f30
commit
2cf2cb70b8
@@ -6,7 +6,14 @@
|
||||
[id="granting-user-permissions-using-the-cli_{context}"]
|
||||
= Granting user permissions by using the CLI
|
||||
|
||||
You can grant users permissions for the `openshift-monitoring` project or their own projects, by using the OpenShift CLI (`oc`).
|
||||
You can grant users permissions
|
||||
// tag::CPM[]
|
||||
for the `openshift-monitoring` project or
|
||||
// end::CPM[]
|
||||
// tag::UWM[]
|
||||
to monitor
|
||||
// end::UWM[]
|
||||
their own projects, by using the {oc-first}.
|
||||
|
||||
[IMPORTANT]
|
||||
====
|
||||
@@ -17,7 +24,7 @@ Whichever role or cluster role you choose, you must bind it against a specific p
|
||||
|
||||
* You have access to the cluster as a user with the `cluster-admin` cluster role.
|
||||
* The user account that you are assigning the role to already exists.
|
||||
* You have installed the OpenShift CLI (`oc`).
|
||||
* You have installed the {oc-first}.
|
||||
|
||||
.Procedure
|
||||
|
||||
|
||||
@@ -35,5 +35,5 @@ include::modules/monitoring-granting-users-permissions-for-core-platform-monitor
|
||||
* xref:../../../observability/monitoring/accessing-metrics/accessing-monitoring-apis-by-using-the-cli.adoc#cmo-services-resources_accessing-monitoring-apis-by-using-the-cli[CMO services resources]
|
||||
|
||||
include::modules/monitoring-granting-user-permissions-using-the-web-console.adoc[leveloffset=+2]
|
||||
include::modules/monitoring-granting-user-permissions-using-the-cli.adoc[leveloffset=+2]
|
||||
include::modules/monitoring-granting-user-permissions-using-the-cli.adoc[leveloffset=+2,tags=**;CPM;!UWM]
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ include::modules/monitoring-granting-users-permission-to-monitor-user-defined-pr
|
||||
* xref:../../../observability/monitoring/configuring-user-workload-monitoring/preparing-to-configure-the-monitoring-stack-uwm.adoc#granting-users-permission-to-configure-alert-routing-for-user-defined-projects_preparing-to-configure-the-monitoring-stack-uwm[Granting users permission to configure alert routing for user-defined projects]
|
||||
|
||||
include::modules/monitoring-granting-user-permissions-using-the-web-console.adoc[leveloffset=+2]
|
||||
include::modules/monitoring-granting-user-permissions-using-the-cli.adoc[leveloffset=+2]
|
||||
include::modules/monitoring-granting-user-permissions-using-the-cli.adoc[leveloffset=+2,tags=**;UWM;!CPM]
|
||||
|
||||
// Excluding a user-defined project from monitoring
|
||||
include::modules/monitoring-excluding-a-user-defined-project-from-monitoring.adoc[leveloffset=+1]
|
||||
|
||||
@@ -32,7 +32,7 @@ include::modules/monitoring-granting-users-permission-to-monitor-user-defined-pr
|
||||
* xref:../../observability/monitoring/accessing-third-party-monitoring-apis.adoc#cmo-services-resources_accessing-third-party-monitoring-apis[CMO services resources]
|
||||
|
||||
include::modules/monitoring-granting-user-permissions-using-the-web-console.adoc[leveloffset=+2]
|
||||
include::modules/monitoring-granting-user-permissions-using-the-cli.adoc[leveloffset=+2]
|
||||
include::modules/monitoring-granting-user-permissions-using-the-cli.adoc[leveloffset=+2,tags=**;CPM;!UWM]
|
||||
|
||||
// Granting users permission to configure monitoring for user-defined projects
|
||||
include::modules/monitoring-granting-users-permission-to-configure-monitoring-for-user-defined-projects.adoc[leveloffset=+1]
|
||||
|
||||
Reference in New Issue
Block a user