Merge pull request #99662 from swetharepakula/eps-ga-api-changes
Graduate EndpointSlice API to GA
This commit is contained in:
@@ -152,7 +152,7 @@ func TestServerSidePrint(t *testing.T) {
|
||||
s, _, closeFn := setupWithResources(t,
|
||||
// additional groupversions needed for the test to run
|
||||
[]schema.GroupVersion{
|
||||
{Group: "discovery.k8s.io", Version: "v1alpha1"},
|
||||
{Group: "discovery.k8s.io", Version: "v1"},
|
||||
{Group: "discovery.k8s.io", Version: "v1beta1"},
|
||||
{Group: "rbac.authorization.k8s.io", Version: "v1alpha1"},
|
||||
{Group: "scheduling.k8s.io", Version: "v1"},
|
||||
|
@@ -198,6 +198,14 @@ func GetEtcdStorageDataForNamespace(namespace string) map[schema.GroupVersionRes
|
||||
},
|
||||
// --
|
||||
|
||||
// k8s.io/kubernetes/pkg/apis/discovery/v1
|
||||
gvr("discovery.k8s.io", "v1", "endpointslices"): {
|
||||
Stub: `{"metadata": {"name": "slicev1"}, "addressType": "IPv4", "protocol": "TCP", "ports": [], "endpoints": []}`,
|
||||
ExpectedEtcdPath: "/registry/endpointslices/" + namespace + "/slicev1",
|
||||
ExpectedGVK: gvkP("discovery.k8s.io", "v1beta1", "EndpointSlice"),
|
||||
},
|
||||
// --
|
||||
|
||||
// k8s.io/kubernetes/pkg/apis/discovery/v1beta1
|
||||
gvr("discovery.k8s.io", "v1beta1", "endpointslices"): {
|
||||
Stub: `{"metadata": {"name": "slicev1beta1"}, "addressType": "IPv4", "protocol": "TCP", "ports": [], "endpoints": []}`,
|
||||
|
Reference in New Issue
Block a user