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 |
|