UPSTREAM: <drop>: 70019: Remove too new ETCD storage data
We do not have the REST storage for these resources yet.
@@ -170,14 +170,6 @@ func GetEtcdStorageData() map[schema.GroupVersionResource]StorageData {
},
// --
- // k8s.io/kubernetes/pkg/apis/autoscaling/v2beta2
- gvr("autoscaling", "v2beta2", "horizontalpodautoscalers"): {
- Stub: `{"metadata": {"name": "hpa3"}, "spec": {"maxReplicas": 3, "scaleTargetRef": {"kind": "something", "name": "cross"}}}`,
- ExpectedEtcdPath: "/registry/horizontalpodautoscalers/etcdstoragepathtestnamespace/hpa3",
- ExpectedGVK: gvkP("autoscaling", "v1", "HorizontalPodAutoscaler"),
- },
- // --
-
// k8s.io/kubernetes/pkg/apis/batch/v1
gvr("batch", "v1", "jobs"): {
Stub: `{"metadata": {"name": "job1"}, "spec": {"manualSelector": true, "selector": {"matchLabels": {"controller-uid": "uid1"}}, "template": {"metadata": {"labels": {"controller-uid": "uid1"}}, "spec": {"containers": [{"image": "fedora:latest", "name": "container1"}], "dnsPolicy": "ClusterFirst", "restartPolicy": "Never"}}}}`,
@@ -207,13 +199,6 @@ func GetEtcdStorageData() map[schema.GroupVersionResource]StorageData {
},
// --
- // k8s.io/kubernetes/pkg/apis/coordination/v1beta1
- gvr("coordination.k8s.io", "v1beta1", "leases"): {
- Stub: `{"metadata": {"name": "lease1"}, "spec": {"holderIdentity": "holder", "leaseDurationSeconds": 5}}`,
- ExpectedEtcdPath: "/registry/leases/etcdstoragepathtestnamespace/lease1",
- },
- // --
-
// k8s.io/kubernetes/pkg/apis/events/v1beta1
gvr("events.k8s.io", "v1beta1", "events"): {
Stub: `{"metadata": {"name": "event2"}, "regarding": {"namespace": "etcdstoragepathtestnamespace"}, "note": "some data here", "eventTime": "2017-08-09T15:04:05.000000Z", "reportingInstance": "node-xyz", "reportingController": "k8s.io/my-controller", "action": "DidNothing", "reason": "Laziness"}`,
