github.com/oam-dev/kubevela@v1.9.11/charts/vela-core/templates/defwithtemplate/print-message-in-status.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/print-message-in-status.cue
     3  apiVersion: core.oam.dev/v1beta1
     4  kind: WorkflowStepDefinition
     5  metadata:
     6    annotations:
     7      custom.definition.oam.dev/category: Process Control
     8      definition.oam.dev/description: print message in workflow step status
     9    name: print-message-in-status
    10    namespace: {{ include "systemDefinitionNamespace" . }}
    11  spec:
    12    schematic:
    13      cue:
    14        template: |
    15          import (
    16          	"vela/op"
    17          )
    18  
    19          parameter: message: string
    20  
    21          msg: op.#Message & {
    22          	message: parameter.message
    23          }
    24