Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ensureRBACPolicy (0.18 sec)

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

    			ClusterRolesToAggregate:    bootstrappolicy.ClusterRolesToAggregate(),
    			ClusterRoleBindingsToSplit: bootstrappolicy.ClusterRoleBindingsToSplit(),
    		}
    		coreClientSet := fake.NewSimpleClientset()
    		_, _ = ensureRBACPolicy(policy, coreClientSet)
    	}
    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. pkg/registry/rbac/rest/storage_rbac.go

    				return false, nil
    			}
    			return ensureRBACPolicy(p, client)
    		})
    		// if we're never able to make it through initialization, kill the API server
    		if err != nil {
    			return fmt.Errorf("unable to initialize roles: %v", err)
    		}
    
    		return nil
    	}
    }
    
    func ensureRBACPolicy(p *PolicyData, client clientset.Interface) (done bool, err error) {
    	failedReconciliation := false
    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