Check if a ClusterRoleBinding exists
The name of the cluster role binding
True if the cluster role binding exists, false otherwise
Check if a ClusterRole exists
The name of the cluster role
True if the cluster role exists, false otherwise
Create a ClusterRole
The name of the cluster role
The rules of the cluster role
Optionallabels: Record<string, string>The labels of the cluster role
Delete a ClusterRole
The name of the cluster role
Delete a ClusterRoleBinding
The name of the cluster role binding
Ensure an existing ClusterRole/ClusterRoleBinding carries Helm ownership metadata for the provided release. This is a no-op when a resource with the provided name does not exist.
Resource name (applies to both ClusterRole and ClusterRoleBinding)
Helm release name
Helm release namespace
Interface for RBAC operations