mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 13:14:05 +00:00
Stop exposing v1beta3 by default
This commit is contained in:
@@ -34,6 +34,7 @@ import (
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
|
||||
apierrors "github.com/GoogleCloudPlatform/kubernetes/pkg/api/errors"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/resource"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/testapi"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/capabilities"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/client/record"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/client/testclient"
|
||||
@@ -1172,7 +1173,7 @@ func TestMakeEnvironmentVariables(t *testing.T) {
|
||||
Name: "POD_NAME",
|
||||
ValueFrom: &api.EnvVarSource{
|
||||
FieldRef: &api.ObjectFieldSelector{
|
||||
APIVersion: "v1beta3",
|
||||
APIVersion: testapi.Version(),
|
||||
FieldPath: "metadata.name",
|
||||
},
|
||||
},
|
||||
@@ -1181,7 +1182,7 @@ func TestMakeEnvironmentVariables(t *testing.T) {
|
||||
Name: "POD_NAMESPACE",
|
||||
ValueFrom: &api.EnvVarSource{
|
||||
FieldRef: &api.ObjectFieldSelector{
|
||||
APIVersion: "v1beta3",
|
||||
APIVersion: testapi.Version(),
|
||||
FieldPath: "metadata.namespace",
|
||||
},
|
||||
},
|
||||
@@ -1208,7 +1209,7 @@ func TestMakeEnvironmentVariables(t *testing.T) {
|
||||
Name: "POD_NAME",
|
||||
ValueFrom: &api.EnvVarSource{
|
||||
FieldRef: &api.ObjectFieldSelector{
|
||||
APIVersion: "v1beta3",
|
||||
APIVersion: testapi.Version(),
|
||||
FieldPath: "metadata.name",
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user