mirror of
https://github.com/kubevela/kubevela.git
synced 2026-03-05 19:22:03 +00:00
* Feat: support to manage the integrations by the CLI and the workflow Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: remove the xml Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: add the unit test for the nacos writer Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: add the integration API Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: make the provider commands to be deprecated Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: make the unit test work Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: rename the integration to the config Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: make the unit test cases work Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: refactor the config commands Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: add the distribution status for the config Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: sort the import packages Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: refine the code style Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: refine the code style Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: get the content format before render the content Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: add some examples Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: the command test cases Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: add the definitions of the workflow step Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: add some tests Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: add some tests Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: change the name Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: retry the CI Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: refine some words Signed-off-by: barnettZQG <barnett.zqg@gmail.com> Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
88 lines
3.3 KiB
JSON
88 lines
3.3 KiB
JSON
{
|
|
"openapi": "3.0.0",
|
|
"info": {
|
|
"title": "Generated by cue.",
|
|
"version": "no version"
|
|
},
|
|
"paths": {},
|
|
"components": {
|
|
"schemas": {
|
|
"parameter": {
|
|
"type": "object",
|
|
"required": [
|
|
"image",
|
|
"port"
|
|
],
|
|
"properties": {
|
|
"cmd": {
|
|
"description": "+usage=Commands to run in the container",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"env": {
|
|
"description": "+usage=Define arguments by using environment variables",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"description": "+usage=Environment variable name",
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"description": "+usage=The value of the environment variable",
|
|
"type": "string"
|
|
},
|
|
"valueFrom": {
|
|
"description": "+usage=Specifies a source the value of this var should come from",
|
|
"type": "object",
|
|
"required": [
|
|
"secretKeyRef"
|
|
],
|
|
"properties": {
|
|
"secretKeyRef": {
|
|
"description": "+usage=Selects a key of a secret in the pod's namespace",
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"key"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"description": "+usage=The name of the secret in the pod's namespace to select from",
|
|
"type": "string"
|
|
},
|
|
"key": {
|
|
"description": "+usage=The key of the secret to select from. Must be a valid secret key",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"image": {
|
|
"description": "+usage=Which image would you like to use for your service\n+short=i",
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"description": "+usage=Which port do you want customer traffic sent to\n+short=p",
|
|
"type": "integer",
|
|
"default": 80
|
|
},
|
|
"cpu": {
|
|
"description": "+usage=Number of CPU units for the service, like `0.5` (0.5 CPU core), `1` (1 CPU core)",
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |