Chapter 1. RBAC APIs


1.1. ClusterRoleBinding [rbac.authorization.k8s.io/v1]

Description
ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.
Type
object

1.2. ClusterRole [rbac.authorization.k8s.io/v1]

Description
ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
Type
object

1.3. RoleBinding [rbac.authorization.k8s.io/v1]

Description
RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.
Type
object

1.4. Role [rbac.authorization.k8s.io/v1]

Description
Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
Type
object
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.