From eb0174302d501eac23bb1711f78d44a87e083bcb Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Tue, 20 Sep 2016 14:28:53 +0200 Subject: [PATCH] Update tests - add ImageStreams --- .../entrypoint-command/output-os.json | 46 ++- script/test/fixtures/etherpad/output-os.json | 206 +++++++--- script/test/fixtures/gitlab/output-os.json | 260 ++++++++---- .../fixtures/ngnix-node-redis/output-os.json | 372 ++++++++++++++---- .../fixtures/ports-with-proto/output-os.json | 92 ++++- 5 files changed, 761 insertions(+), 215 deletions(-) diff --git a/script/test/fixtures/entrypoint-command/output-os.json b/script/test/fixtures/entrypoint-command/output-os.json index df1122a16..a4f660490 100644 --- a/script/test/fixtures/entrypoint-command/output-os.json +++ b/script/test/fixtures/entrypoint-command/output-os.json @@ -17,7 +17,24 @@ "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "base" + ], + "from": { + "kind": "ImageStreamTag", + "name": "base:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { @@ -34,7 +51,7 @@ "containers": [ { "name": "base", - "image": "busybox", + "image": " ", "command": [ "echo" ], @@ -49,6 +66,31 @@ } }, "status": {} + }, + { + "kind": "ImageStream", + "apiVersion": "v1", + "metadata": { + "name": "base", + "creationTimestamp": null + }, + "spec": { + "tags": [ + { + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage", + "name": "busybox" + }, + "generation": null, + "importPolicy": {} + } + ] + }, + "status": { + "dockerImageRepository": "" + } } ] } diff --git a/script/test/fixtures/etherpad/output-os.json b/script/test/fixtures/etherpad/output-os.json index d6193f44d..fcc861744 100644 --- a/script/test/fixtures/etherpad/output-os.json +++ b/script/test/fixtures/etherpad/output-os.json @@ -4,7 +4,34 @@ "metadata": {}, "items": [ { - "kind": "DeploymentConfig", + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "mariadb", + "creationTimestamp": null, + "labels": { + "service": "mariadb" + } + }, + "spec": { + "ports": [ + { + "name": "3306", + "protocol": "TCP", + "port": 3306, + "targetPort": 3306 + } + ], + "selector": { + "service": "mariadb" + } + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "Service", "apiVersion": "v1", "metadata": { "name": "etherpad", @@ -13,54 +40,94 @@ "service": "etherpad" } }, + "spec": { + "ports": [ + { + "name": "80", + "protocol": "TCP", + "port": 80, + "targetPort": 9001 + } + ], + "selector": { + "service": "etherpad" + } + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "DeploymentConfig", + "apiVersion": "v1", + "metadata": { + "name": "mariadb", + "creationTimestamp": null, + "labels": { + "service": "mariadb" + } + }, "spec": { "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "mariadb" + ], + "from": { + "kind": "ImageStreamTag", + "name": "mariadb:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { - "service": "etherpad" + "service": "mariadb" }, "template": { "metadata": { "creationTimestamp": null, "labels": { - "service": "etherpad" + "service": "mariadb" } }, "spec": { "containers": [ { - "name": "etherpad", - "image": "centos/etherpad", + "name": "mariadb", + "image": " ", "ports": [ { - "containerPort": 9001, + "containerPort": 3306, "protocol": "TCP" } ], "env": [ { - "name": "DB_USER", + "name": "MYSQL_DATABASE", "value": "etherpad" }, { - "name": "DB_DBID", + "name": "MYSQL_PASSWORD", "value": "etherpad" }, { - "name": "DB_HOST", - "value": "mariadb" - }, - { - "name": "DB_PASS", + "name": "MYSQL_ROOT_PASSWORD", "value": "etherpad" }, { - "name": "DB_PORT", - "value": "3306" + "name": "MYSQL_USER", + "value": "etherpad" } ], "resources": {} @@ -73,86 +140,105 @@ "status": {} }, { - "kind": "Service", + "kind": "ImageStream", "apiVersion": "v1", "metadata": { - "name": "etherpad", - "creationTimestamp": null, - "labels": { - "service": "etherpad" - } + "name": "mariadb", + "creationTimestamp": null }, "spec": { - "ports": [ + "tags": [ { - "name": "80", - "protocol": "TCP", - "port": 80, - "targetPort": 9001 + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage", + "name": "centos/mariadb" + }, + "generation": null, + "importPolicy": {} } - ], - "selector": { - "service": "etherpad" - } + ] }, "status": { - "loadBalancer": {} + "dockerImageRepository": "" } }, { "kind": "DeploymentConfig", "apiVersion": "v1", "metadata": { - "name": "mariadb", + "name": "etherpad", "creationTimestamp": null, "labels": { - "service": "mariadb" + "service": "etherpad" } }, "spec": { "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "etherpad" + ], + "from": { + "kind": "ImageStreamTag", + "name": "etherpad:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { - "service": "mariadb" + "service": "etherpad" }, "template": { "metadata": { "creationTimestamp": null, "labels": { - "service": "mariadb" + "service": "etherpad" } }, "spec": { "containers": [ { - "name": "mariadb", - "image": "centos/mariadb", + "name": "etherpad", + "image": " ", "ports": [ { - "containerPort": 3306, + "containerPort": 9001, "protocol": "TCP" } ], "env": [ { - "name": "MYSQL_DATABASE", + "name": "DB_USER", "value": "etherpad" }, { - "name": "MYSQL_PASSWORD", + "name": "DB_DBID", "value": "etherpad" }, { - "name": "MYSQL_ROOT_PASSWORD", - "value": "etherpad" + "name": "DB_HOST", + "value": "mariadb" }, { - "name": "MYSQL_USER", + "name": "DB_PASS", "value": "etherpad" + }, + { + "name": "DB_PORT", + "value": "3306" } ], "resources": {} @@ -165,30 +251,28 @@ "status": {} }, { - "kind": "Service", + "kind": "ImageStream", "apiVersion": "v1", "metadata": { - "name": "mariadb", - "creationTimestamp": null, - "labels": { - "service": "mariadb" - } + "name": "etherpad", + "creationTimestamp": null }, "spec": { - "ports": [ + "tags": [ { - "name": "3306", - "protocol": "TCP", - "port": 3306, - "targetPort": 3306 + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage", + "name": "centos/etherpad" + }, + "generation": null, + "importPolicy": {} } - ], - "selector": { - "service": "mariadb" - } + ] }, "status": { - "loadBalancer": {} + "dockerImageRepository": "" } } ] diff --git a/script/test/fixtures/gitlab/output-os.json b/script/test/fixtures/gitlab/output-os.json index b170897e6..99464ab28 100644 --- a/script/test/fixtures/gitlab/output-os.json +++ b/script/test/fixtures/gitlab/output-os.json @@ -3,6 +3,99 @@ "apiVersion": "v1", "metadata": {}, "items": [ + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "gitlab", + "creationTimestamp": null, + "labels": { + "service": "gitlab" + } + }, + "spec": { + "ports": [ + { + "name": "30000", + "protocol": "TCP", + "port": 30000, + "targetPort": 80 + }, + { + "name": "30001", + "protocol": "TCP", + "port": 30001, + "targetPort": 443 + }, + { + "name": "30002", + "protocol": "TCP", + "port": 30002, + "targetPort": 22 + } + ], + "selector": { + "service": "gitlab" + } + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "postgresql", + "creationTimestamp": null, + "labels": { + "service": "postgresql" + } + }, + "spec": { + "ports": [ + { + "name": "5432", + "protocol": "TCP", + "port": 5432, + "targetPort": 5432 + } + ], + "selector": { + "service": "postgresql" + } + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "redis", + "creationTimestamp": null, + "labels": { + "service": "redis" + } + }, + "spec": { + "ports": [ + { + "name": "6379", + "protocol": "TCP", + "port": 6379, + "targetPort": 6379 + } + ], + "selector": { + "service": "redis" + } + }, + "status": { + "loadBalancer": {} + } + }, { "kind": "DeploymentConfig", "apiVersion": "v1", @@ -17,7 +110,24 @@ "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "gitlab" + ], + "from": { + "kind": "ImageStreamTag", + "name": "gitlab:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { @@ -34,7 +144,7 @@ "containers": [ { "name": "gitlab", - "image": "swordphilic/gitlab", + "image": " ", "ports": [ { "containerPort": 80, @@ -50,10 +160,6 @@ } ], "env": [ - { - "name": "DB_HOST", - "value": "postgresql" - }, { "name": "DB_NAME", "value": "gitlab" @@ -81,6 +187,10 @@ { "name": "REDIS_PORT", "value": "6379" + }, + { + "name": "DB_HOST", + "value": "postgresql" } ], "resources": {} @@ -93,42 +203,28 @@ "status": {} }, { - "kind": "Service", + "kind": "ImageStream", "apiVersion": "v1", "metadata": { "name": "gitlab", - "creationTimestamp": null, - "labels": { - "service": "gitlab" - } + "creationTimestamp": null }, "spec": { - "ports": [ - { - "name": "30000", - "protocol": "TCP", - "port": 30000, - "targetPort": 80 - }, - { - "name": "30001", - "protocol": "TCP", - "port": 30001, - "targetPort": 443 - }, + "tags": [ { - "name": "30002", - "protocol": "TCP", - "port": 30002, - "targetPort": 22 + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage", + "name": "swordphilic/gitlab" + }, + "generation": null, + "importPolicy": {} } - ], - "selector": { - "service": "gitlab" - } + ] }, "status": { - "loadBalancer": {} + "dockerImageRepository": "" } }, { @@ -145,7 +241,24 @@ "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "postgresql" + ], + "from": { + "kind": "ImageStreamTag", + "name": "postgresql:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { @@ -162,7 +275,7 @@ "containers": [ { "name": "postgresql", - "image": "swordphilic/postgresql", + "image": " ", "ports": [ { "containerPort": 5432, @@ -193,30 +306,28 @@ "status": {} }, { - "kind": "Service", + "kind": "ImageStream", "apiVersion": "v1", "metadata": { "name": "postgresql", - "creationTimestamp": null, - "labels": { - "service": "postgresql" - } + "creationTimestamp": null }, "spec": { - "ports": [ + "tags": [ { - "name": "5432", - "protocol": "TCP", - "port": 5432, - "targetPort": 5432 + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage", + "name": "swordphilic/postgresql" + }, + "generation": null, + "importPolicy": {} } - ], - "selector": { - "service": "postgresql" - } + ] }, "status": { - "loadBalancer": {} + "dockerImageRepository": "" } }, { @@ -233,7 +344,24 @@ "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "redis" + ], + "from": { + "kind": "ImageStreamTag", + "name": "redis:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { @@ -250,7 +378,7 @@ "containers": [ { "name": "redis", - "image": "swordphilic/redis", + "image": " ", "ports": [ { "containerPort": 6379, @@ -267,30 +395,28 @@ "status": {} }, { - "kind": "Service", + "kind": "ImageStream", "apiVersion": "v1", "metadata": { "name": "redis", - "creationTimestamp": null, - "labels": { - "service": "redis" - } + "creationTimestamp": null }, "spec": { - "ports": [ + "tags": [ { - "name": "6379", - "protocol": "TCP", - "port": 6379, - "targetPort": 6379 + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage", + "name": "swordphilic/redis" + }, + "generation": null, + "importPolicy": {} } - ], - "selector": { - "service": "redis" - } + ] }, "status": { - "loadBalancer": {} + "dockerImageRepository": "" } } ] diff --git a/script/test/fixtures/ngnix-node-redis/output-os.json b/script/test/fixtures/ngnix-node-redis/output-os.json index 9b892c589..0e93b3a68 100644 --- a/script/test/fixtures/ngnix-node-redis/output-os.json +++ b/script/test/fixtures/ngnix-node-redis/output-os.json @@ -3,6 +3,141 @@ "apiVersion": "v1", "metadata": {}, "items": [ + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "node2", + "creationTimestamp": null, + "labels": { + "service": "node2" + } + }, + "spec": { + "ports": [ + { + "name": "8080", + "protocol": "TCP", + "port": 8080, + "targetPort": 8080 + } + ], + "selector": { + "service": "node2" + } + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "node3", + "creationTimestamp": null, + "labels": { + "service": "node3" + } + }, + "spec": { + "ports": [ + { + "name": "8080", + "protocol": "TCP", + "port": 8080, + "targetPort": 8080 + } + ], + "selector": { + "service": "node3" + } + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "redis", + "creationTimestamp": null, + "labels": { + "service": "redis" + } + }, + "spec": { + "ports": [ + { + "name": "6379", + "protocol": "TCP", + "port": 6379, + "targetPort": 6379 + } + ], + "selector": { + "service": "redis" + } + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "nginx", + "creationTimestamp": null, + "labels": { + "service": "nginx" + } + }, + "spec": { + "ports": [ + { + "name": "80", + "protocol": "TCP", + "port": 80, + "targetPort": 80 + } + ], + "selector": { + "service": "nginx" + } + }, + "status": { + "loadBalancer": {} + } + }, + { + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "node1", + "creationTimestamp": null, + "labels": { + "service": "node1" + } + }, + "spec": { + "ports": [ + { + "name": "8080", + "protocol": "TCP", + "port": 8080, + "targetPort": 8080 + } + ], + "selector": { + "service": "node1" + } + }, + "status": { + "loadBalancer": {} + } + }, { "kind": "DeploymentConfig", "apiVersion": "v1", @@ -17,7 +152,24 @@ "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "node2" + ], + "from": { + "kind": "ImageStreamTag", + "name": "node2:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { @@ -34,6 +186,7 @@ "containers": [ { "name": "node2", + "image": " ", "ports": [ { "containerPort": 8080, @@ -50,30 +203,27 @@ "status": {} }, { - "kind": "Service", + "kind": "ImageStream", "apiVersion": "v1", "metadata": { "name": "node2", - "creationTimestamp": null, - "labels": { - "service": "node2" - } + "creationTimestamp": null }, "spec": { - "ports": [ + "tags": [ { - "name": "8080", - "protocol": "TCP", - "port": 8080, - "targetPort": 8080 + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage" + }, + "generation": null, + "importPolicy": {} } - ], - "selector": { - "service": "node2" - } + ] }, "status": { - "loadBalancer": {} + "dockerImageRepository": "" } }, { @@ -90,7 +240,24 @@ "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "node3" + ], + "from": { + "kind": "ImageStreamTag", + "name": "node3:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { @@ -107,6 +274,7 @@ "containers": [ { "name": "node3", + "image": " ", "ports": [ { "containerPort": 8080, @@ -123,30 +291,27 @@ "status": {} }, { - "kind": "Service", + "kind": "ImageStream", "apiVersion": "v1", "metadata": { "name": "node3", - "creationTimestamp": null, - "labels": { - "service": "node3" - } + "creationTimestamp": null }, "spec": { - "ports": [ + "tags": [ { - "name": "8080", - "protocol": "TCP", - "port": 8080, - "targetPort": 8080 + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage" + }, + "generation": null, + "importPolicy": {} } - ], - "selector": { - "service": "node3" - } + ] }, "status": { - "loadBalancer": {} + "dockerImageRepository": "" } }, { @@ -163,7 +328,24 @@ "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "redis" + ], + "from": { + "kind": "ImageStreamTag", + "name": "redis:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { @@ -180,7 +362,7 @@ "containers": [ { "name": "redis", - "image": "redis", + "image": " ", "ports": [ { "containerPort": 6379, @@ -197,30 +379,28 @@ "status": {} }, { - "kind": "Service", + "kind": "ImageStream", "apiVersion": "v1", "metadata": { "name": "redis", - "creationTimestamp": null, - "labels": { - "service": "redis" - } + "creationTimestamp": null }, "spec": { - "ports": [ + "tags": [ { - "name": "6379", - "protocol": "TCP", - "port": 6379, - "targetPort": 6379 + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage", + "name": "redis" + }, + "generation": null, + "importPolicy": {} } - ], - "selector": { - "service": "redis" - } + ] }, "status": { - "loadBalancer": {} + "dockerImageRepository": "" } }, { @@ -237,7 +417,24 @@ "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "nginx" + ], + "from": { + "kind": "ImageStreamTag", + "name": "nginx:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { @@ -254,6 +451,7 @@ "containers": [ { "name": "nginx", + "image": " ", "ports": [ { "containerPort": 80, @@ -270,30 +468,27 @@ "status": {} }, { - "kind": "Service", + "kind": "ImageStream", "apiVersion": "v1", "metadata": { "name": "nginx", - "creationTimestamp": null, - "labels": { - "service": "nginx" - } + "creationTimestamp": null }, "spec": { - "ports": [ + "tags": [ { - "name": "80", - "protocol": "TCP", - "port": 80, - "targetPort": 80 + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage" + }, + "generation": null, + "importPolicy": {} } - ], - "selector": { - "service": "nginx" - } + ] }, "status": { - "loadBalancer": {} + "dockerImageRepository": "" } }, { @@ -310,7 +505,24 @@ "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "node1" + ], + "from": { + "kind": "ImageStreamTag", + "name": "node1:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { @@ -327,6 +539,7 @@ "containers": [ { "name": "node1", + "image": " ", "ports": [ { "containerPort": 8080, @@ -343,30 +556,27 @@ "status": {} }, { - "kind": "Service", + "kind": "ImageStream", "apiVersion": "v1", "metadata": { "name": "node1", - "creationTimestamp": null, - "labels": { - "service": "node1" - } + "creationTimestamp": null }, "spec": { - "ports": [ + "tags": [ { - "name": "8080", - "protocol": "TCP", - "port": 8080, - "targetPort": 8080 + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage" + }, + "generation": null, + "importPolicy": {} } - ], - "selector": { - "service": "node1" - } + ] }, "status": { - "loadBalancer": {} + "dockerImageRepository": "" } } ] diff --git a/script/test/fixtures/ports-with-proto/output-os.json b/script/test/fixtures/ports-with-proto/output-os.json index a5d78d3b4..37b14fdab 100644 --- a/script/test/fixtures/ports-with-proto/output-os.json +++ b/script/test/fixtures/ports-with-proto/output-os.json @@ -77,7 +77,24 @@ "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "redis" + ], + "from": { + "kind": "ImageStreamTag", + "name": "redis:3.0" + } + } + } + ], "replicas": 1, "test": false, "selector": { @@ -94,7 +111,7 @@ "containers": [ { "name": "redis", - "image": "redis:3.0", + "image": " ", "ports": [ { "containerPort": 6379, @@ -114,6 +131,31 @@ }, "status": {} }, + { + "kind": "ImageStream", + "apiVersion": "v1", + "metadata": { + "name": "redis", + "creationTimestamp": null + }, + "spec": { + "tags": [ + { + "name": "3.0", + "annotations": null, + "from": { + "kind": "DockerImage", + "name": "redis:3.0" + }, + "generation": null, + "importPolicy": {} + } + ] + }, + "status": { + "dockerImageRepository": "" + } + }, { "kind": "DeploymentConfig", "apiVersion": "v1", @@ -128,7 +170,24 @@ "strategy": { "resources": {} }, - "triggers": null, + "triggers": [ + { + "type": "ConfigChange" + }, + { + "type": "ImageChange", + "imageChangeParams": { + "automatic": true, + "containerNames": [ + "web" + ], + "from": { + "kind": "ImageStreamTag", + "name": "web:latest" + } + } + } + ], "replicas": 1, "test": false, "selector": { @@ -145,7 +204,7 @@ "containers": [ { "name": "web", - "image": "tuna/docker-counter23", + "image": " ", "ports": [ { "containerPort": 5000, @@ -160,6 +219,31 @@ } }, "status": {} + }, + { + "kind": "ImageStream", + "apiVersion": "v1", + "metadata": { + "name": "web", + "creationTimestamp": null + }, + "spec": { + "tags": [ + { + "name": "latest", + "annotations": null, + "from": { + "kind": "DockerImage", + "name": "tuna/docker-counter23" + }, + "generation": null, + "importPolicy": {} + } + ] + }, + "status": { + "dockerImageRepository": "" + } } ] }