github.com/oam-dev/kubevela@v1.9.11/charts/vela-core/templates/defwithtemplate/apply-object.yaml (about) 1 # Code generated by KubeVela templates. DO NOT EDIT. Please edit the original cue file. 2 # Definition source cue file: vela-templates/definitions/internal/apply-object.cue 3 apiVersion: core.oam.dev/v1beta1 4 kind: WorkflowStepDefinition 5 metadata: 6 annotations: 7 custom.definition.oam.dev/category: Resource Management 8 definition.oam.dev/description: Apply raw kubernetes objects for your workflow steps 9 name: apply-object 10 namespace: {{ include "systemDefinitionNamespace" . }} 11 spec: 12 schematic: 13 cue: 14 template: | 15 import ( 16 "vela/op" 17 ) 18 19 apply: op.#Apply & { 20 value: parameter.value 21 cluster: parameter.cluster 22 } 23 parameter: { 24 // +usage=Specify Kubernetes native resource object to be applied 25 value: {...} 26 // +usage=The cluster you want to apply the resource to, default is the current control plane cluster 27 cluster: *"" | string 28 } 29