Browse code

Fix bugs in example JSON files

Vojtech Vitek (V-Teq) authored on 2014/10/02 02:05:34
Showing 3 changed files
... ...
@@ -11,7 +11,7 @@
11 11
         "image": "openshift/hello-openshift",
12 12
         "ports": [{
13 13
           "hostPort": 6061,
14
-          "containerPort": 8080,
14
+          "containerPort": 8080
15 15
         }]
16 16
       }]
17 17
     }
... ...
@@ -1,5 +1,7 @@
1 1
 {
2 2
     "id": "build100",
3
+    "kind": "BuildConfig",
4
+    "apiVersion": "v1beta1",
3 5
     "desiredInput":
4 6
     {
5 7
         "type":      "docker",
... ...
@@ -7,6 +9,5 @@
7 7
         "imageTag":  "openshift/origin-ruby-sample",
8 8
         "registry":  "127.0.0.1:5000"
9 9
     },
10
-
11 10
     "secret": "secret101"
12 11
 }
... ...
@@ -1,8 +1,10 @@
1 1
 {
2
+    "id": "docker-registry-config",
3
+    "kind": "Config",
2 4
     "apiVersion": "v1beta1",
3 5
     "creationTimestamp": "2014-09-18T18:28:38-04:00",
6
+    "name": "docker-registry-config",
4 7
     "description": "Creates a private docker registry",
5
-    "id": "docker-registry-config",
6 8
     "items": [
7 9
         {
8 10
             "apiVersion": "v1beta1",
... ...
@@ -55,7 +57,5 @@
55 55
                 "name": "registryController"
56 56
             }
57 57
         }
58
-    ],
59
-    "kind": "Config",
60
-    "name": "docker-registry-config"
58
+    ]
61 59
 }