Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

RoleBinding

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Represents a Kubernetes RoleBinding resource, binding a Role or ClusterRole to a set of subjects (users, groups, or service accounts).
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class RoleBinding
: Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
{
// ...
}
A RoleBinding grants the permissions defined in a Role to specific users, groups, or service accounts within a namespace. It supports the inclusion of multiple subjects and references a single role through the RoleRef property. The RoleBinding resource is namespace-scoped and helps manage access control within the Kubernetes RBAC framework.
View all constructors
View all properties