POST - /kubernetes/item/deploy/native/cronjob
Description
This API deploys an item from the catalog using kubernetes native recipe of type cronjob.
Input
Type: application/json
Param | Source | Type | Required | Description |
---|---|---|---|---|
configuration | body | object | Yes | Â |
recipe | body | object | Yes | Â |
catalog | body.recipe | object | Yes | Â |
id | body.recipe.catalog | string | Yes | Â |
version | body.recipe.catalog | string | Yes | Â |
shell | body.recipe.catalog | string | Yes | Â |
item | body.recipe | object | Yes | Â |
env | body.recipe.item | string | Yes | Â |
name | body.recipe.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.recipe.src | object | Yes | Â |
repo | body.recipe.src | string | yes | Â |
owner | body.recipe.src | string | yes | Â |
deployment | body.recipe | object | yes | Â |
apiVersion | body.recipe.service | string | yes | Â |
kind | body.recipe.service | enum | yes |
|
metadata | body.recipe.service | object | yes | Â |
spec | body.recipe.service | object | yes | Â |
schedule | body.recipe.service.spec | string | yes | Â |
jobTemplate | body.recipe.service.spec | object | yes | Â |
spec | body.recipe.service.jobTemplate | object | yes | Â |
template | body.recipe.service.jobTemplate.spec | object | yes | Â |
metadata | body.recipe.service.jobTemplate.spec.template | object | yes | Â |
service | body.recipe | object | no | Â |
apiVersion | body.recipe.service | string | yes | Â |
kind | body.recipe.service | enum | yes |
|
metadata | body.recipe.service | object | yes | Â |
spec | body.recipe.service | object | yes | Â |
selector | body.recipe.service.spec | object | yes | Â |
body.recipe.src.from
Conditional require, with one of the following:
["tag"]
["branch", "commit"]
Param | Source | Type | Required | Description |
---|---|---|---|---|
tag | body.recipe.src.from | string | Yes conditional | Â |
branch | body.recipe.src.from | string | Yes conditional | Â |
commit | body.recipe.src.from | string | Yes conditional | Â |
Â
Â