Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addClusterRoleBindingLabel (0.3 sec)

  1. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    	}
    	metadata.SetAnnotations(annotations)
    }
    
    func addClusterRoleLabel(roles []rbacv1.ClusterRole) {
    	for i := range roles {
    		addDefaultMetadata(&roles[i])
    	}
    	return
    }
    
    func addClusterRoleBindingLabel(rolebindings []rbacv1.ClusterRoleBinding) {
    	for i := range rolebindings {
    		addDefaultMetadata(&rolebindings[i])
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy.go

    	addClusterRoleLabel(*controllerRoles)
    
    	*controllerRoleBindings = append(*controllerRoleBindings,
    		rbacv1helpers.NewClusterBinding(role.Name).SAs("kube-system", role.Name[len(saRolePrefix):]).BindingOrDie())
    	addClusterRoleBindingLabel(*controllerRoleBindings)
    }
    
    func eventsRule() rbacv1.PolicyRule {
    	return rbacv1helpers.NewRule("create", "update", "patch").Groups(legacyGroup, eventsGroup).Resources("events").RuleOrDie()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top