Two authorization layers#

Orkiva roles control what an Orkiva user can request. Kubernetes RBAC controls what the connected Kubernetes identity can actually perform. A permissive Orkiva role cannot grant permissions missing from that Kubernetes identity. The Kubernetes Roles and RoleBindings pages edit cluster objects; Settings → RBAC edits Orkiva’s own access rules.

Create a scoped role#

  1. Open Settings → RBAC and add a role. Give it a name that describes its intended access.
  2. Set the permitted cluster names and namespaces. Use explicit names for a scoped role; * means a wildcard, not an empty selection.
  3. Choose plural resource names such as pods and deployments. For a custom resource, use the CRD name described by the UI, such as widgets.example.com.
  4. Select allowed verbs. Read access and mutation access are distinct; include only operations the role needs.
  5. Read the permission preview and save. Resolve any validation or recent-authentication prompt.
A role combines cluster, namespace, resource and verb scopes. Read the Permission Preview before creating the role.
A role combines cluster, namespace, resource and verb scopes. Read the Permission Preview before creating the role. View full size ↗

Assign and verify#

  1. Use the role assignment controls to associate the role with the intended user or external group.
  2. Sign in as a representative non-administrator account.
  3. Verify one allowed read, one allowed mutation if applicable, and one denied action outside the intended scope.
  4. Check Delivery-specific permissions separately when the account needs projects, approvals or platform administration.

A role entry that exists but is not assigned does not grant access. A successful administrator session is not a meaningful test of a restricted role.

Common mistakes#

  • Using a display label instead of the expected plural resource identifier.
  • Granting namespace access but forgetting a required cluster-scoped resource.
  • Assuming a UI button is the authorization boundary; backend checks still enforce access.
  • Editing a file-managed role through the UI rather than the configuration source.
  • Using broad wildcards to hide a permissions problem instead of identifying the missing operation.