Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

Commit cdab322

Browse files
committed
Merge pull request #496 from jonboulle/master
examples: make volume/mount references consistent
2 parents cff8046 + 9d57ea8 commit cdab322

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

examples/pod_runtime.json

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"acVersion": "0.6.1",
32
"acKind": "PodManifest",
3+
"acVersion": "0.6.1",
44
"apps": [
55
{
66
"name": "reduce-worker",
@@ -10,16 +10,16 @@
1010
},
1111
"app": {
1212
"exec": [
13-
"/bin/reduce-worker",
13+
"/usr/bin/reduce-worker",
1414
"--debug=true",
1515
"--data-dir=/mnt/foo"
1616
],
1717
"group": "0",
1818
"user": "0",
1919
"mountPoints": [
2020
{
21-
"name": "work",
22-
"path": "/mnt/foo"
21+
"name": "database",
22+
"path": "/var/lib/db"
2323
}
2424
],
2525
"isolators": [
@@ -30,7 +30,10 @@
3030
]
3131
},
3232
"mounts": [
33-
{"volume": "work", "path": "/mnt/foo"}
33+
{
34+
"volume": "dbvolume",
35+
"path": "/var/lib/db"
36+
}
3437
]
3538
},
3639
{
@@ -46,8 +49,14 @@
4649
]
4750
},
4851
"mounts": [
49-
{"volume": "database", "path": "/mnt/db"},
50-
{"volume": "buildoutput", "path": "/mnt/out"}
52+
{
53+
"volume": "dbvolume",
54+
"path": "/mnt/db"
55+
},
56+
{
57+
"volume": "buildoutput",
58+
"path": "/mnt/out"
59+
}
5160
],
5261
"annotations": [
5362
{
@@ -72,7 +81,7 @@
7281
],
7382
"volumes": [
7483
{
75-
"name": "database",
84+
"name": "dbvolume",
7685
"kind": "host",
7786
"source": "/opt/tenant1/database",
7887
"readOnly": true

0 commit comments

Comments
 (0)