Argo workflows permission scopes
As noticed in Argo workflows configuration chapter,
two Argo workflows permission scopes: argo
namespace and wl-<workload name>-dev
namespace. Also there are some clusterroles defined by helm chart.
argo
namespace system accounts and roles are used to execute Argo Workflows
Server and Workflow controller.
System accounts and roles
Each workload provides following system accounts and roles in wl-<workload name>-dev
:
argo-admin
— RBAC map target to view, change and delete workflowsargo-developer
— RBAC map target to view workflowsargo-workflow
— used to execute all the CI chain workflows
argo
namespace are provided with several special systemaccounts:
argo-server
for Argo Workflows Serverargo-workflow-controller
for Argo Workflow controllerargo-default-sa
— default account with the lowest permissions to login into Argo Workflows UI and is used before the RBAC rules are applied.
To dive deep inside Argo Workflows RBAC, see:
- [https://argo-workflows.readthedocs.io/en/stable/workflow-rbac/](https://argo-workflows.readthedocs.io/en/stable/workflow-rbac/)
- [https://argo-workflows.readthedocs.io/en/stable/argo-server-sso/#sso-rbac](https://argo-workflows.readthedocs.io/en/stable/argo-server-sso/#sso-rbac)