mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-20 08:13:23 +00:00
32 lines
984 B
CUE
32 lines
984 B
CUE
import (
|
|
"vela/op"
|
|
)
|
|
|
|
"deploy": {
|
|
type: "workflow-step"
|
|
annotations: {
|
|
"category": "Application Delivery"
|
|
}
|
|
labels: {
|
|
"scope": "Application"
|
|
}
|
|
description: "A powerful and unified deploy step for components multi-cluster delivery with policies."
|
|
}
|
|
template: {
|
|
deploy: op.#Deploy & {
|
|
policies: parameter.policies
|
|
parallelism: parameter.parallelism
|
|
ignoreTerraformComponent: parameter.ignoreTerraformComponent
|
|
}
|
|
parameter: {
|
|
//+usage=If set to false, the workflow will suspend automatically before this step, default to be true.
|
|
auto: *true | bool
|
|
//+usage=Declare the policies that used for this deployment. If not specified, the components will be deployed to the hub cluster.
|
|
policies: *[] | [...string]
|
|
//+usage=Maximum number of concurrent delivered components.
|
|
parallelism: *5 | int
|
|
//+usage=If set false, this step will apply the components with the terraform workload.
|
|
ignoreTerraformComponent: *true | bool
|
|
}
|
|
}
|