add v1 to hack/test-integration.sh

This commit is contained in:
Chao Xu
2015-06-02 10:22:10 -07:00
parent 48d3d604af
commit 89c8949e78
9 changed files with 42 additions and 1 deletions

View File

@@ -272,6 +272,7 @@ func RunAMaster(t *testing.T) (*master.Master, *httptest.Server) {
APIPrefix: "/api",
Authorizer: apiserver.NewAlwaysAllowAuthorizer(),
AdmissionControl: admit.NewAlwaysAdmit(),
EnableV1: true,
})
s := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {