Merge pull request #99662 from swetharepakula/eps-ga-api-changes
Graduate EndpointSlice API to GA
This commit is contained in:
@@ -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