DS: changes to server and storage

This commit is contained in:
foxish
2017-07-17 15:56:48 -07:00
committed by Anirudh
parent 55e968de16
commit 14d5793869
4 changed files with 15 additions and 1 deletions

View File

@@ -158,6 +158,11 @@ var etcdStorageData = map[schema.GroupVersionResource]struct {
expectedEtcdPath: "/registry/deployments/etcdstoragepathtestnamespace/deployment3",
expectedGVK: gvkP("extensions", "v1beta1", "Deployment"),
},
gvr("apps", "v1beta2", "daemonsets"): {
stub: `{"metadata": {"name": "ds5"}, "spec": {"selector": {"matchLabels": {"a": "b"}}, "template": {"metadata": {"labels": {"a": "b"}}, "spec": {"containers": [{"image": "fedora:latest", "name": "container6"}]}}}}`,
expectedEtcdPath: "/registry/daemonsets/etcdstoragepathtestnamespace/ds5",
expectedGVK: gvkP("extensions", "v1beta1", "DaemonSet"),
},
// --
// k8s.io/kubernetes/pkg/apis/autoscaling/v1