Merge pull request #44021 from CaoShuFeng/kube-aggregator/apis

Automatic merge from submit-queue

add "/apis/" to kube-aggregator apisHandler

This makes the following two urls have the same result.
https://ip:443/apis
https://ip:443/apis/
**Release note**:

```NONE
```
This commit is contained in:
Kubernetes Submit Queue
2017-04-11 09:02:22 -07:00
committed by GitHub

View File

@@ -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)