Documentation ¶
Index ¶
- Variables
- func ClusterRoleBindings() []rbacv1.ClusterRoleBinding
- func ClusterRoleBindingsToSplit() map[string]rbacv1.ClusterRoleBinding
- func ClusterRoles() []rbacv1.ClusterRole
- func ClusterRolesToAggregate() map[string]string
- func ControllerRoleBindings() []rbacv1.ClusterRoleBinding
- func ControllerRoles() []rbacv1.ClusterRole
- func NamespaceRoleBindings() map[string][]rbacv1.RoleBinding
- func NamespaceRoles() map[string][]rbacv1.Role
- func NodeRules() []rbacv1.PolicyRule
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Write = []string{"create", "update", "patch", "delete", "deletecollection"} ReadWrite = []string{"get", "list", "watch", "create", "update", "patch", "delete", "deletecollection"} Read = []string{"get", "list", "watch"} ReadUpdate = []string{"get", "list", "watch", "update", "patch"} Label = map[string]string{"kubernetes.io/bootstrapping": "rbac-defaults"} Annotation = map[string]string{rbacv1.AutoUpdateAnnotationKey: "true"} )
Functions ¶
func ClusterRoleBindings ¶
func ClusterRoleBindings() []rbacv1.ClusterRoleBinding
ClusterRoleBindings return default rolebindings to the default roles
func ClusterRoleBindingsToSplit ¶ added in v1.14.0
func ClusterRoleBindingsToSplit() map[string]rbacv1.ClusterRoleBinding
ClusterRoleBindingsToSplit returns a map of Names of source ClusterRoleBindings to copy Subjects, Annotations, and Labels to destination ClusterRoleBinding templates.
func ClusterRoles ¶
func ClusterRoles() []rbacv1.ClusterRole
ClusterRoles returns the cluster roles to bootstrap an API server with
func ClusterRolesToAggregate ¶ added in v1.9.1
func ControllerRoleBindings ¶
func ControllerRoleBindings() []rbacv1.ClusterRoleBinding
ControllerRoleBindings returns the role bindings used by controllers
func ControllerRoles ¶
func ControllerRoles() []rbacv1.ClusterRole
ControllerRoles returns the cluster roles used by controllers
func NamespaceRoleBindings ¶ added in v1.6.0
func NamespaceRoleBindings() map[string][]rbacv1.RoleBinding
NamespaceRoleBindings returns a map of namespace to slice of roles to create
func NamespaceRoles ¶ added in v1.6.0
NamespaceRoles returns a map of namespace to slice of roles to create
func NodeRules ¶ added in v1.7.0
func NodeRules() []rbacv1.PolicyRule
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.