support@example.com
full access to the staging
cluster but limited access to the production
cluster.
acl.yaml
:
Admin
can manage ACLs. Users who have the Omni role Operator
or above are assigned to the Kubernetes role system:masters
by default, in addition to the ACLs. rbac.yaml
with a Namespace
called my-app
, and a Role
& RoleBinding
to give access to the my-app-read-only
group:
production
:
kubeconfig
generated by the user support@example.com
:
my-app
namespace because of the Role
and RoleBinding
created above.
Try to list pods in another namespace:
default
.
support@example.com
has the Omni role Operator
or above assigned, they will have system:masters
role in Kubernetes as well as the my-app-read-only
role.Therefore, they will still be able to list pods in all namespaces.