rbacusercluster

package
v2.22.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL