github.com/oam-dev/kubevela@v1.9.11/charts/vela-core/templates/defwithtemplate/apply-component.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-component.cue
     3  apiVersion: core.oam.dev/v1beta1
     4  kind: WorkflowStepDefinition
     5  metadata:
     6    annotations:
     7      custom.definition.oam.dev/category: Application Delivery
     8      definition.oam.dev/description: Apply a specific component and its corresponding traits in application
     9    labels:
    10      custom.definition.oam.dev/scope: Application
    11    name: apply-component
    12    namespace: {{ include "systemDefinitionNamespace" . }}
    13  spec:
    14    schematic:
    15      cue:
    16        template: |
    17          parameter: {
    18          	// +usage=Specify the component name to apply
    19          	component: string
    20          	// +usage=Specify the cluster
    21          	cluster: *"" | string
    22          	// +usage=Specify the namespace
    23          	namespace: *"" | string
    24          }
    25