Kubernetes RBAC Role & ClusterRoleBinding YAML Generator
Design Kubernetes RBAC Role, ClusterRole, RoleBinding, and ClusterRoleBinding resources with API groups, resource verbs, and Subject service accounts.
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: pod-log-reader
namespace: staging
labels:
app.kubernetes.io/part-of: developer-access
env: staging
rules:
- apiGroups:
- ""
resources:
- "pods"
- "pods/log"
- "events"
verbs:
- "get"
- "list"
- "watch"
- apiGroups:
- "apps"
resources:
- "deployments"
- "replicasets"
verbs:
- "get"
- "list"
- "watch"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: developer-log-reader-binding
namespace: staging
labels:
app.kubernetes.io/part-of: developer-access
env: staging
subjects:
- kind: Group
name: frontend-developers
apiGroup: rbac.authorization.k8s.io
- kind: User
name: [email protected]
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: Role
name: pod-log-reader
apiGroup: rbac.authorization.k8s.iorbac.authorization.k8s.io/v1 Standard
Strict compliance with rbac.authorization.k8s.io/v1 specifications for namespace-scoped Roles and cluster-wide ClusterRoles.
Sub-Millisecond AST Engine
All RBAC policies, service accounts, and cluster permissions are evaluated and generated entirely inside your browser sandbox.
Least Privilege & Production Ready
Generates production-grade manifests with least-privilege security auditing to prevent dangerous wildcard and privilege escalation risks.