github.com/oam-dev/kubevela@v1.9.11/charts/vela-core/crds/core.oam.dev_workflows.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.9.0
     7    creationTimestamp: null
     8    name: workflows.core.oam.dev
     9  spec:
    10    group: core.oam.dev
    11    names:
    12      categories:
    13      - oam
    14      kind: Workflow
    15      listKind: WorkflowList
    16      plural: workflows
    17      singular: workflow
    18    scope: Namespaced
    19    versions:
    20    - name: v1alpha1
    21      schema:
    22        openAPIV3Schema:
    23          description: Workflow is the Schema for the workflow API
    24          properties:
    25            apiVersion:
    26              description: 'APIVersion defines the versioned schema of this representation
    27                of an object. Servers should convert recognized schemas to the latest
    28                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    29              type: string
    30            kind:
    31              description: 'Kind is a string value representing the REST resource this
    32                object represents. Servers may infer this from the endpoint the client
    33                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    34              type: string
    35            metadata:
    36              type: object
    37            mode:
    38              description: WorkflowExecuteMode defines the mode of workflow execution
    39              properties:
    40                steps:
    41                  description: Steps is the mode of workflow steps execution
    42                  type: string
    43                subSteps:
    44                  description: SubSteps is the mode of workflow sub steps execution
    45                  type: string
    46              type: object
    47            steps:
    48              items:
    49                description: WorkflowStep defines how to execute a workflow step.
    50                properties:
    51                  dependsOn:
    52                    description: DependsOn is the dependency of the step
    53                    items:
    54                      type: string
    55                    type: array
    56                  if:
    57                    description: If is the if condition of the step
    58                    type: string
    59                  inputs:
    60                    description: Inputs is the inputs of the step
    61                    items:
    62                      properties:
    63                        from:
    64                          type: string
    65                        parameterKey:
    66                          type: string
    67                      required:
    68                      - from
    69                      - parameterKey
    70                      type: object
    71                    type: array
    72                  meta:
    73                    description: Meta is the meta data of the workflow step.
    74                    properties:
    75                      alias:
    76                        type: string
    77                    type: object
    78                  name:
    79                    description: Name is the unique name of the workflow step.
    80                    type: string
    81                  outputs:
    82                    description: Outputs is the outputs of the step
    83                    items:
    84                      properties:
    85                        name:
    86                          type: string
    87                        valueFrom:
    88                          type: string
    89                      required:
    90                      - name
    91                      - valueFrom
    92                      type: object
    93                    type: array
    94                  properties:
    95                    description: Properties is the properties of the step
    96                    type: object
    97                    x-kubernetes-preserve-unknown-fields: true
    98                  subSteps:
    99                    items:
   100                      description: WorkflowStepBase defines the workflow step base
   101                      properties:
   102                        dependsOn:
   103                          description: DependsOn is the dependency of the step
   104                          items:
   105                            type: string
   106                          type: array
   107                        if:
   108                          description: If is the if condition of the step
   109                          type: string
   110                        inputs:
   111                          description: Inputs is the inputs of the step
   112                          items:
   113                            properties:
   114                              from:
   115                                type: string
   116                              parameterKey:
   117                                type: string
   118                            required:
   119                            - from
   120                            - parameterKey
   121                            type: object
   122                          type: array
   123                        meta:
   124                          description: Meta is the meta data of the workflow step.
   125                          properties:
   126                            alias:
   127                              type: string
   128                          type: object
   129                        name:
   130                          description: Name is the unique name of the workflow step.
   131                          type: string
   132                        outputs:
   133                          description: Outputs is the outputs of the step
   134                          items:
   135                            properties:
   136                              name:
   137                                type: string
   138                              valueFrom:
   139                                type: string
   140                            required:
   141                            - name
   142                            - valueFrom
   143                            type: object
   144                          type: array
   145                        properties:
   146                          description: Properties is the properties of the step
   147                          type: object
   148                          x-kubernetes-preserve-unknown-fields: true
   149                        timeout:
   150                          description: Timeout is the timeout of the step
   151                          type: string
   152                        type:
   153                          description: Type is the type of the workflow step.
   154                          type: string
   155                      required:
   156                      - name
   157                      - type
   158                      type: object
   159                    type: array
   160                  timeout:
   161                    description: Timeout is the timeout of the step
   162                    type: string
   163                  type:
   164                    description: Type is the type of the workflow step.
   165                    type: string
   166                required:
   167                - name
   168                - type
   169                type: object
   170              type: array
   171          type: object
   172      served: true
   173      storage: true