github.com/oam-dev/kubevela@v1.9.11/vela-templates/definitions/internal/workflowstep/apply-object.cue (about) 1 import ( 2 "vela/op" 3 ) 4 5 "apply-object": { 6 type: "workflow-step" 7 annotations: { 8 "category": "Resource Management" 9 } 10 labels: {} 11 description: "Apply raw kubernetes objects for your workflow steps" 12 } 13 template: { 14 apply: op.#Apply & { 15 value: parameter.value 16 cluster: parameter.cluster 17 } 18 parameter: { 19 // +usage=Specify Kubernetes native resource object to be applied 20 value: {...} 21 // +usage=The cluster you want to apply the resource to, default is the current control plane cluster 22 cluster: *"" | string 23 } 24 }