...

Code Block
    rbac_configs:
    - group: group_editor_otel_namespace
      policy: rbac_editor_otel_namespace
    - group: group_viewer_target_namespace
      policy: rbac_viewer_target_namespace

 Adding Adding an RBAC User

To configure a user with RBAC, follow these steps by appropriately editing your custom-values.yaml file in user-mgmt-service section.

With SSO

  • Create user or add user to existing group.

    Code Block
        # Group name
        - name: rbac_group_name
        # List of users
          users:
          - id_key: X-Auth-Request-Email
            value: user@company.com
  • Create a RBAC policy or use an existing one

    Code Block
        # policy name
        - name: rbac_policy_name
          # creating a viewer policy
          role: viewer
          # using inbuilt scope all
          scope:
            type: all
  • Create RBAC config with the group and policy

    Code Block
        rbac_configs:
        ...
        - group: rbac_group_name
          policy: rbac_policy_name

...