Version
Code Block | |
---|---|
|
...
| |
{ " |
...
version": " |
...
1", " |
...
profile": |
...
{ |
...
|
...
|
...
//free object to add whatever you see fit }, " |
...
lastSync": |
...
{ " |
...
ts": " |
...
2342343423", " |
...
branch": |
...
"branch1", // or tag (only one |
...
is allowed) " |
...
tag": " |
...
tag1" |
...
// or branch |
...
(only one is allowed) }, " |
...
tags": |
...
["tag1"], // or branches (only one is allowed) " |
...
branches": [" |
...
branch1"], // or tags (only one |
...
is allowed) |
...
" |
...
soa": " |
...
stringified soa.json", |
...
" |
...
documentation" |
...
: |
...
{ |
...
|
...
" |
...
readme" |
...
: |
...
"stringified readme.md", |
...
" |
...
release" |
...
: " |
...
stringified release.md" |
...
}, |
...
" |
...
maintenance": { |
...
|
...
" |
...
port": |
...
{ |
...
" |
...
type": |
...
"inherit" |
...
},
|
...
" |
...
readiness": |
...
"/heartbeat" |
...
}
} |
Configuration:
Code Block | ||
---|---|---|
| ||
{ " |
...
port" : |
...
4005, |
...
|
...
" |
...
group": |
...
"groupname", |
...
|
...
"subType": |
...
"subType"
} |
Deploy
Code Block | ||
---|---|---|
| ||
{ |
...
" |
...
version": |
...
"1", |
...
|
...
"cd": |
...
{ "strategy" : " |
...
notify" |
...
|
...
|| "update" }, " |
...
settings": { |
...
" |
...
memory" |
...
: |
...
"512Mi", //https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory%22 |
...
" |
...
mode": " |
...
deployment |
...
| |
...
daemonset", |
...
" |
...
replicas": |
...
1, " |
...
loadBalancer": |
...
true }, |
...
" |
...
src" |
...
: |
...
{ " |
...
branch" |
...
: " |
...
master", |
...
" |
...
commit": |
...
|
...
"324234234" |
...
} |
...
,
" |
...
recipe": { " |
...
id": |
...
" |
...
mongoId", " |
...
image": { " |
...
name": |
...
" |
...
imagename" |
...
,
" |
...
prefix": |
...
" |
...
soajsorg", |
...
|
...
" |
...
tag": |
...
"tagname" |
...
|
...
},
" |
...
ports" |
...
: [ |
...
], " |
...
env" |
...
{
|
...
//list of envirnment variables |
...
} |
...
}, } |