From 29112a42fb20e69f32579cfff226433dbc5c2508 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Wed, 10 Dec 2014 12:12:39 +0200 Subject: [PATCH] Documentation: Fix image manifest in getting started guide The "app manifest" is now called "image manifest" and its structure has changed. Fix that up. Signed-off-by: Pekka Enberg --- Documentation/getting-started-guide.md | 31 ++++++++++++++++++-------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/Documentation/getting-started-guide.md b/Documentation/getting-started-guide.md index fde64e2..02fba50 100644 --- a/Documentation/getting-started-guide.md +++ b/Documentation/getting-started-guide.md @@ -38,22 +38,35 @@ Edit: manifest.json ``` { - "acVersion": "1.0.0", - "acKind": "AppManifest", + "acKind": "ImageManifest", + "acVersion": "0.1.0", "name": "coreos.com/hello-1.0.0", - "version": "1.0.0", - "os": "linux", - "arch": "amd64", - "exec": [ - "/bin/hello" + "labels": [ + { + "name": "version", + "val": "1.0.0" + }, + { + "name": "arch", + "val": "amd64" + }, + { + "name": "os", + "val": "linux" + } ], - "ports": [ + "app": { + "exec": [ + "/bin/hello" + ], + "ports": [ { "name": "www", "protocol": "tcp", "port": 5000 } - ], + ] + }, "annotations": { "authors": "Kelsey Hightower " }