Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ControllerRoleBindings (0.35 sec)

  1. pkg/registry/rbac/rest/storage_rbac_test.go

    		var policy = &PolicyData{
    			ClusterRoles:               append(bootstrappolicy.ClusterRoles(), bootstrappolicy.ControllerRoles()...),
    			ClusterRoleBindings:        append(bootstrappolicy.ClusterRoleBindings(), bootstrappolicy.ControllerRoleBindings()...),
    			Roles:                      bootstrappolicy.NamespaceRoles(),
    			RoleBindings:               bootstrappolicy.NamespaceRoleBindings(),
    			ClusterRolesToAggregate:    bootstrappolicy.ClusterRolesToAggregate(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 02 03:03:06 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy_test.go

    			t.Errorf("ClusterRole: %s GetLabels() = %s, want %s", accessor.GetName(), got, want)
    		}
    	}
    
    	rolebindings := ControllerRoleBindings()
    	for i := range rolebindings {
    		rolebinding := rolebindings[i]
    		accessor, err := meta.Accessor(&rolebinding)
    		if err != nil {
    			t.Fatalf("unexpected error: %v", err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 05:24:17 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go

    }
    
    func TestBootstrapControllerRoleBindings(t *testing.T) {
    	list := &api.List{}
    	names := sets.NewString()
    	roleBindings := map[string]runtime.Object{}
    	bootstrapRoleBindings := bootstrappolicy.ControllerRoleBindings()
    	for i := range bootstrapRoleBindings {
    		roleBinding := bootstrapRoleBindings[i]
    		names.Insert(roleBinding.Name)
    		roleBindings[roleBinding.Name] = &roleBinding
    	}
    	for _, name := range names.List() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top