Skip to main content
Skip table of contents

Workspace Role Bindings

These pages refer to DKP Enterprise and DKP Gov Advanced products.

Workspace Role Bindings grant access to specified Workspace Roles for a specified group of people.

Prerequisites

  • Before you can create a Workspace Role Binding, ensure you have created a workspace Group. A Group can contain one or several Identity Provider users, groups or both.

The syntax for the Identity Provider groups you add to a DKP Group varies depending on the context for which you have established an Identity Provider.

  • If you have set up an identity provider globally, for All Workspaces:

    • For groups: Add an Identity Provider Group in the oidc:<IdP_user_group> format. For example, oidc:engineering.

    • For users: Add an Identity Provider User in the <user_email>. For example, jane.doe@example.com.

  • If you have set up an identity provider for a Specific Workspace:

    • For groups: Add an Identity Provider Group in the oidc:<workspace_name>:<IdP_user_group> format. For example, oidc:tenant-z:engineering.

    • For users: Add an Identity Provider User in the <workspace_ID>:<user_email> format. For example, tenant-z:jane.doe@example.com.

      (info) Run kubectl get workspaces to obtain a list of all existing workspaces. The workspace_ID is listed under the NAME column.

Configure Workspace Role Bindings

You can assign a role to this Kommander Group:

  1. From the top menu bar, select your target workspace.

  2. Select Access Control in the Administration section of the sidebar menu.

  3. Select the Cluster Role Bindings tab, and then select the Add Roles button next to the group you want.

  4. Select the Role, or Roles, you want from the drop-down menu and select Save.

It will take a few minutes for the resource to be created.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.