Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for namespaceRoleBindings (0.21 sec)

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

    func NamespaceRoles() map[string][]rbacv1.Role {
    	return namespaceRoles
    }
    
    // NamespaceRoleBindings returns a map of namespace to slice of roles to create
    func NamespaceRoleBindings() map[string][]rbacv1.RoleBinding {
    	return namespaceRoleBindings
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  2. pkg/registry/rbac/rest/storage_rbac_test.go

    			Roles:                      bootstrappolicy.NamespaceRoles(),
    			RoleBindings:               bootstrappolicy.NamespaceRoleBindings(),
    			ClusterRolesToAggregate:    bootstrappolicy.ClusterRolesToAggregate(),
    			ClusterRoleBindingsToSplit: bootstrappolicy.ClusterRoleBindingsToSplit(),
    		}
    		coreClientSet := fake.NewSimpleClientset()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 02 03:03:06 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go

    	list := &api.List{}
    	names := sets.NewString()
    	roleBindings := map[string]runtime.Object{}
    
    	namespaceRoleBindings := bootstrappolicy.NamespaceRoleBindings()
    	for _, namespace := range sets.StringKeySet(namespaceRoleBindings).List() {
    		bootstrapRoleBindings := namespaceRoleBindings[namespace]
    		for i := range bootstrapRoleBindings {
    			roleBinding := bootstrapRoleBindings[i]
    			names.Insert(roleBinding.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. pkg/registry/rbac/rest/storage_rbac.go

    		Roles:                      bootstrappolicy.NamespaceRoles(),
    		RoleBindings:               bootstrappolicy.NamespaceRoleBindings(),
    		ClusterRolesToAggregate:    bootstrappolicy.ClusterRolesToAggregate(),
    		ClusterRoleBindingsToSplit: bootstrappolicy.ClusterRoleBindingsToSplit(),
    	}
    	return PostStartHookName, policy.EnsureRBACPolicy(), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
Back to top