github.com/kubevela/workflow@v0.6.0/controllers/testdata/save-process-context.yaml (about) 1 apiVersion: core.oam.dev/v1beta1 2 kind: WorkflowStepDefinition 3 metadata: 4 name: save-process-context 5 namespace: vela-system 6 spec: 7 schematic: 8 cue: 9 template: | 10 import "vela/op" 11 12 cm: op.#Apply & { 13 value: { 14 apiVersion: "v1" 15 kind: "ConfigMap" 16 metadata: { 17 name: parameter.name 18 labels: { 19 "process.context.data": "true" 20 } 21 } 22 data: context 23 } 24 } 25 26 parameter: name: string