Stop exposing v1beta3 by default
This commit is contained in:
@@ -21,6 +21,7 @@ import (
|
||||
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/resource"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/testapi"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/client"
|
||||
. "github.com/onsi/ginkgo"
|
||||
. "github.com/onsi/gomega"
|
||||
@@ -162,7 +163,7 @@ func makeCheckPod(ns string, nfsserver string) *api.Pod {
|
||||
return &api.Pod{
|
||||
TypeMeta: api.TypeMeta{
|
||||
Kind: "Pod",
|
||||
APIVersion: "v1beta3",
|
||||
APIVersion: testapi.Version(),
|
||||
},
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
GenerateName: "checker-",
|
||||
|
@@ -24,6 +24,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/testapi"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/client"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/fields"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/labels"
|
||||
@@ -34,9 +35,8 @@ import (
|
||||
)
|
||||
|
||||
var _ = Describe("Proxy", func() {
|
||||
for _, version := range []string{"v1beta3", "v1"} {
|
||||
Context("version "+version, func() { proxyContext(version) })
|
||||
}
|
||||
version := testapi.Version()
|
||||
Context("version "+version, func() { proxyContext(version) })
|
||||
})
|
||||
|
||||
const (
|
||||
|
Reference in New Issue
Block a user