github.com/oam-dev/kubevela@v1.9.11/pkg/appfile/dryrun/testdata/wd-deploy.yaml (about) 1 apiVersion: core.oam.dev/v1beta1 2 kind: WorkflowStepDefinition 3 metadata: 4 annotations: 5 definition.oam.dev/description: Deploy components with policies. 6 name: deploy 7 spec: 8 schematic: 9 cue: 10 template: | 11 import ( 12 "vela/op" 13 ) 14 15 deploy: op.#Deploy & { 16 policies: parameter.policies 17 parallelism: parameter.parallelism 18 } 19 parameter: { 20 auto: *true | bool 21 policies?: [...string] 22 parallelism: *5 | int 23 } 24