mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
scripts: build-aci update to have mountPoint and ports
Expose the etcd ports and data-dir mountPoint for future releases.
This commit is contained in:
parent
766e0ad901
commit
00044cd3bd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user