wire in aggregation

This commit is contained in:
deads2k
2017-03-10 13:51:02 -05:00
parent b28966b48a
commit 8e26fa25da
28 changed files with 18558 additions and 84 deletions

View File

@@ -17,6 +17,7 @@ limitations under the License.
package main
import (
"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/kubernetes/cmd/kube-apiserver/app"
"k8s.io/kubernetes/cmd/kube-apiserver/app/options"
)
@@ -32,7 +33,7 @@ func NewKubeAPIServer() *Server {
SimpleUsage: "apiserver",
Long: "The main API entrypoint and interface to the storage system. The API server is also the focal point for all authorization decisions.",
Run: func(_ *Server, args []string) error {
return app.Run(s)
return app.Run(s, wait.NeverStop)
},
}
s.AddFlags(hks.Flags())