add healthz to genericapiserver

This commit is contained in:
deads2k
2016-10-31 08:48:59 -04:00
parent 37122c2636
commit f56cbfa8d5
10 changed files with 132 additions and 30 deletions

View File

@@ -449,6 +449,8 @@ func (c completedConfig) New() (*GenericAPIServer, error) {
enableOpenAPISupport: c.EnableOpenAPISupport,
openAPIConfig: c.OpenAPIConfig,
postStartHooks: map[string]postStartHookEntry{},
}
s.HandlerContainer = mux.NewAPIContainer(http.NewServeMux(), c.Serializer)