github.com/oam-dev/kubevela@v1.9.11/docs/examples/workflow/step-group/example.yaml (about)

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: Application
     3  metadata:
     4    name: example
     5    namespace: default
     6  spec:
     7    components:
     8      - name: express-server
     9        type: webservice
    10        properties:
    11          image: crccheck/hello-world
    12          port: 8000
    13      - name: express-server2
    14        type: webservice
    15        properties:
    16          image: crccheck/hello-world
    17          port: 8000
    18  
    19    workflow:
    20      steps:
    21        - name: step
    22          type: step-group
    23          subSteps:
    24            - name: apply-sub-step1
    25              type: apply-component
    26              properties:
    27                component: express-server
    28            - name: apply-sub-step2
    29              type: apply-component
    30              properties:
    31                component: express-server2