- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewClusterBinding (0.35 sec)
-
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go
rbacv1helpers.NewClusterBinding("system:node-proxier").Users(user.KubeProxy).BindingOrDie(), rbacv1helpers.NewClusterBinding("system:kube-controller-manager").Users(user.KubeControllerManager).BindingOrDie(), rbacv1helpers.NewClusterBinding("system:kube-dns").SAs("kube-system", "kube-dns").BindingOrDie(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 19:25:10 UTC 2024 - 34.4K bytes - Viewed (0) -
pkg/apis/rbac/helpers.go
type ClusterRoleBindingBuilder struct { ClusterRoleBinding ClusterRoleBinding } // NewClusterBinding creates a ClusterRoleBinding builder that can be used // to define the subjects of a cluster role binding. At least one of // the `Groups`, `Users` or `SAs` method must be called before // calling the `Binding*` methods. func NewClusterBinding(clusterRoleName string) *ClusterRoleBindingBuilder { return &ClusterRoleBindingBuilder{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 23 15:11:00 UTC 2020 - 12.1K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy.go
} } *controllerRoles = append(*controllerRoles, role) addClusterRoleLabel(*controllerRoles) *controllerRoleBindings = append(*controllerRoleBindings, rbacv1helpers.NewClusterBinding(role.Name).SAs("kube-system", role.Name[len(saRolePrefix):]).BindingOrDie()) addClusterRoleBindingLabel(*controllerRoleBindings) } func eventsRule() rbacv1.PolicyRule {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 19:25:10 UTC 2024 - 28.9K bytes - Viewed (0)