Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceOwnerName = "system:kubermatic:owners" ResourceEditorName = "system:kubermatic:editors" ResourceViewerName = "system:kubermatic:viewers" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(mgr manager.Manager, logger *zap.SugaredLogger, registerReconciledCheck func(name string, check healthz.Checker) error, clusterIsPaused userclustercontrollermanager.IsPausedChecker) error
Add creates a new RBAC generator controller that is responsible for creating Cluster Roles and Cluster Role Bindings for groups: `owners`, `editors` and `viewers`.
func CreateClusterRole ¶ added in v2.21.0
func CreateClusterRole(resourceName string, cr *rbacv1.ClusterRole) (*rbacv1.ClusterRole, error)
func CreateClusterRoleBinding ¶ added in v2.21.0
func CreateClusterRoleBinding(resourceName string, crb *rbacv1.ClusterRoleBinding) (*rbacv1.ClusterRoleBinding, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.