Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rbac-for-monitoring.md #1104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,13 @@ The UI won't offer `monitoring-admin`, `monitoring-edit`, and `monitoring-view`

1.3 In the **Name** field, create a custom role such as `View Monitoring`, `Edit Monitoring`, or `Admin Monitoring`.

1.4 Click **Inherit From > Add Resource**, then select the Kubernetes role, as applicable, from the dropdown.
1.4 Click **Grant Resources > Add Resource**, then select `get` as `Verbs` and `services/proxy` as `Resource`

1.5 Click **Create**.
1.5 Click **Grant Resources > Add Resource**, then select `list` as `Verbs` and `endpoints` as `Resource`

1.6 Click **Inherit From > Add Resource**, then select the Kubernetes role, as applicable, from the dropdown.

1.7 Click **Create**.


2. Assign the custom role to a new user:
Expand Down Expand Up @@ -259,4 +263,4 @@ To see the Grafana UI, install `rancher-monitoring`. Then:

<figcaption>Default Dashboards in Grafana</figcaption>

![Default Dashboards in Grafana](/img/grafana-default-dashboard.png)
![Default Dashboards in Grafana](/img/grafana-default-dashboard.png)