github.com/oam-dev/kubevela@v1.9.11/test/e2e-multicluster-test/testdata/app/app-component-with-cluster.yaml (about)

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: Application
     3  metadata:
     4    name: component-cluster
     5  spec:
     6    components:
     7      - name: component-cluster
     8        type: worker
     9        properties:
    10          image: busybox
    11          cmd:
    12            - sleep
    13            - '1000000'
    14    workflow:
    15      steps:
    16        - name: apply
    17          type: apply-component
    18          properties:
    19            component: component-cluster
    20            cluster: cluster-worker