mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
integration etcd data: use new ServiceCIDR API
Change-Id: I68a91815b3220a41e97667d8f8f4a3bdf5a91e8a
This commit is contained in:
parent
3edcce52e3
commit
271900a0f0
@ -212,7 +212,7 @@ func GetEtcdStorageDataForNamespace(namespace string) map[schema.GroupVersionRes
|
|||||||
|
|
||||||
// k8s.io/kubernetes/pkg/apis/networking/v1alpha1
|
// k8s.io/kubernetes/pkg/apis/networking/v1alpha1
|
||||||
gvr("networking.k8s.io", "v1alpha1", "servicecidrs"): {
|
gvr("networking.k8s.io", "v1alpha1", "servicecidrs"): {
|
||||||
Stub: `{"metadata": {"name": "range1"}, "spec": {"ipv4": "192.168.0.0/16", "ipv6": "fd00:1::/120"}}`,
|
Stub: `{"metadata": {"name": "range1"}, "spec": {"cidrs": ["192.168.0.0/16","fd00:1::/120"]}}`,
|
||||||
ExpectedEtcdPath: "/registry/servicecidrs/range1",
|
ExpectedEtcdPath: "/registry/servicecidrs/range1",
|
||||||
},
|
},
|
||||||
// --
|
// --
|
||||||
|
Loading…
Reference in New Issue
Block a user