Merge pull request #2704 from philips/build-aci-port-mountpoint

scripts: build-aci update to have mountPoint and ports
release-2.1
Brandon Philips 2015-04-29 07:30:44 -07:00
commit beb606f066
1 changed files with 36 additions and 2 deletions

View File

@ -41,7 +41,7 @@ cp -r Documentation $IMAGEDIR/rootfs/
cat <<DF > $IMAGEDIR/manifest
{
"acVersion": "0.1.1",
"acVersion": "0.5.1",
"acKind": "ImageManifest",
"name": "coreos.com/etcd",
"labels": [
@ -50,11 +50,45 @@ cat <<DF > $IMAGEDIR/manifest
{"name": "version", "value": "${VERSION}"}
],
"app": {
"environment": [
{
"name": "ETCD_DATA_DIR",
"value": "/data-dir"
}
],
"exec": [
"/etcd"
],
"user": "0",
"group": "0"
"group": "0",
"mountPoints": [
{
"name": "data-dir",
"path": "/data-dir"
}
],
"ports": [
{
"name": "legacy-client",
"port": 4001,
"protocol": "tcp"
},
{
"name": "client",
"port": 2379,
"protocol": "tcp"
},
{
"name": "legacy-peer",
"port": 7001,
"protocol": "tcp"
},
{
"name": "peer",
"port": 2380,
"protocol": "tcp"
}
]
}
}
DF