Skip to content
Closed
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
8 changes: 7 additions & 1 deletion loki_operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,18 @@ Once the Loki stack is up and running, you need to configure NetObserv to commun

### User access

You then need to define `ClusterRoleBindings` for allowed users or groups, such as [this one](./examples/loki-stack/rolebinding-user-test.yaml) for a user named `test`. This can also be done from the CLI:
You then need to define `ClusterRoleBindings` or `RoleBindings` for allowed users or groups, such as [this one](./examples/loki-stack/rolebinding-user-test.yaml) for a user named `test`. This can also be done from the CLI:

```bash
oc adm policy add-cluster-role-to-user netobserv-reader test
```

Alternatively, you can use fine-grained roles per namespace:

```bash
oc adm policy add-role-to-user netobserv-reader test -n my-namespace
```

Cluster admins do not need this role binding.

### Testing multi-tenancy
Expand Down