mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	add "/apis/" to kube-aggregator apisHandler
This makes the following two urls have the same result. https://<ip>:443/apis https://<ip>:443/apis/
This commit is contained in:
		@@ -178,6 +178,7 @@ func (c completedConfig) NewWithDelegate(delegationTarget genericapiserver.Deleg
 | 
			
		||||
		endpointsLister: s.endpointsLister,
 | 
			
		||||
	}
 | 
			
		||||
	s.GenericAPIServer.HandlerContainer.Handle("/apis", apisHandler)
 | 
			
		||||
	s.GenericAPIServer.HandlerContainer.Handle("/apis/", apisHandler)
 | 
			
		||||
 | 
			
		||||
	apiserviceRegistrationController := NewAPIServiceRegistrationController(informerFactory.Apiregistration().InternalVersion().APIServices(), kubeInformers.Core().V1().Services(), s)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user