mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	let apiserver support api discovery
This commit is contained in:
		@@ -81,6 +81,7 @@ func runAMaster(t *testing.T) (*master.Master, *httptest.Server) {
 | 
			
		||||
		APIPrefix:             "/api",
 | 
			
		||||
		Authorizer:            apiserver.NewAlwaysAllowAuthorizer(),
 | 
			
		||||
		AdmissionControl:      admit.NewAlwaysAdmit(),
 | 
			
		||||
		StorageVersions:       map[string]string{"": testapi.Default.Version()},
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	s := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user