...
Code Block |
---|
Type: application/json |
Param | Source | Type | Required | Description |
---|---|---|---|---|
configuration | body | object | Yes | configuration |
recipe | body | object | Yes | recipe |
catalog | body.recipe | object | Yes | |
id | body.recipe.catalog | string | Yes |
|
version | body.recipe |
...
Param | Source | Type | Required | Description |
---|---|---|---|---|
catalog | .catalog | string | Yes | |
shell | body.recipe.catalog | string | Yes |
|
restartPolicy | body.recipe.catalog | string | no | |
item | body.recipe | object | Yes |
|
env | body.recipe.item | string | Yes |
|
name | body.recipeobject.item | string | Yes | |
group | body.recipe.item | string | Yes |
|
type | body.recipe.item | string | Yes | |
subtype | body.recipe.item | string | no | |
version | body.recipe.item | string | Yes | |
src | body.recipe | object | no | |
from | body.config.src | object | Yes | |
repo | body.config.src | string | yes | |
owner | body.config.src | string | yes | |
mode | body.recipe | enum | yes | only the following ["Deployment", "DaemonSet"] |
labels | body.recipe | object | no | free object of key and value as labels |
image | body.recipe | object | yes | |
name | body.recipe.image | string | yes | |
imagePullPolicy | body.recipe.image | string | yes | |
secret | body.recipe.image | string | no | |
ports | body.recipe | array of objects | no Code Block | |
| ||||
name | body.recipe.ports | string | yes | |
containerPort | body.recipe.ports | integer | yes | |
workingDir | body.recipe | string | no | |
command | body.recipe | array | no | |
args | body.recipe | array | no | |
readinessProbe | body.recipe | object | yes | readinessProde object from kubernetes |
livenessProbe | body.recipe | object | no | livenessProbe object from kubernetes |
env | body.recipe | array of objects | no | |
items | body.recipe.env | object | no | |
volume | body.recipe | object | no | |
volumeMounts | body.recipe.volume | array of objects | no | |
volumes | body.recipe.volume | array of objects | no | |
replicas | body.recipe | integer | no | |
revisionHistoryLimit | body.recipe | integer | no | |
service | body.recipe | object | no |
body.recipe.catalogsrc.from
Conditional require, with one of the following:
["tag"]
["branch", "commit"]
Param | Source | Type | Required | Description | id||
---|---|---|---|---|---|---|
tag | body.config.src.from | string | Yes conditional | |||
branch | body.recipeconfig.src.catalogfrom | string | Yes |
| versionconditional | |
commit | body.config.src.from | string | Yes conditional |
body.recipe
...
.env.items
Conditional require, with one of the following:
["name", "valueFrom"]
["name", "value"]
Param | Source | Type | Required | Description | ||||
---|---|---|---|---|---|---|---|---|
name | body.config.src.env | string | Yes conditional | |||||
shellvalue | body.config.recipesrc.catalogenv | string | Yes |
| restartPolicy | body.recipe.catalog | string | no |
...
conditional | ||||
valueFrom | body.config.src.env | object | Yes conditional | |
secretKeyRef | body.config.src.env.valueFrom | object | yes | |
name | body.config.src.env.valueFrom.secretKeyRef | string | yes | |
key | body.config.src.env.valueFrom.secretKeyRef | string | yes |
body.config.src.service
Param | Source | Type | Required | Description | |
---|---|---|---|---|---|
envports | body.recipe.itemservice | stringarray of objects | Yes | ||
items | name | body.recipe.itemservice.ports | stringobject | Yesyes | |
groupname | body.recipe.itemservice.ports.items | string | Yesyes |
| |
typeport | body.recipe.service.itemports.items | stringinteger | Yesyes | ||
subtypetype | body.recipe.itemservice | string | noYes | ||
versionexternalTrafficPolicy | body.recipe.itemservice | string | Yes |