Workspaces
What a workspace scopes under multi-tenant RBAC: pipes, templates, runs, and the cluster and namespace pairs they run on.
A workspace is a named scope that binds one or more cluster and namespace pairs, and it is the unit of access control in multi-tenant RBAC. You create, rename, and delete workspaces in your RBAC policy, not in the UI. To change a workspace, edit the workspaces section of the policy file and publish a new version. Refer to Create a Policy File. For what users see when they switch between workspaces, refer to Workspaces in Using Pipekit.
Pipes and templates
Every pipe and template belongs to one workspace. A pipe you create in the UI belongs to the workspace you are in. A workflow you submit with the CLI belongs to the workspace that holds its cluster and namespace. A workflow you submit with the CLI joins the pipe with the same name in that workspace, so two workspaces can each have a pipe with the same name.
A role in that workspace decides what a user can do with the pipe or template, including its secrets, alerts, and run conditions.
A pipe runs only on the cluster and namespace pairs its own workspace holds. A run, cron trigger, or template run that targets any other namespace fails with the target_not_in_workspace error. To run a pipe on another namespace, add that namespace to the pipe's workspace in your policy.
Runs
The Runs list shows the runs in the workspace you are in.
Clusters
Clusters belong to your organization, not to a workspace. Only an Org Admin sees CLUSTERS in the navigation and can open the Clusters list, which shows every cluster in the organization.
The orgAdmin role does not grant access inside a workspace. An Org Admin with no workspace role sees every cluster, but no runs, pipes, or templates. To see the work in a workspace, an Org Admin needs a role binding on that workspace.
Renaming a workspace
The workspace name is part of each workspace URL. Renaming a workspace in your policy breaks saved links that carry the old name.
Last updated