github.com/oam-dev/kubevela@v1.9.11/pkg/appfile/dryrun/testdata/diff-input-app-onlyremove.yaml (about)

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: Application
     3  metadata:
     4    name: livediff-demo
     5    namespace: default
     6  spec:
     7    components:
     8      - name: myweb-1
     9        type: myworker
    10        properties:
    11          image: "busybox"
    12          cmd:
    13            - sleep
    14            - "1000" 
    15          lives: "3"
    16          enemies: "alien"
    17        traits:
    18          - type: myingress
    19            properties:
    20              domain: "www.example.com"
    21              http:
    22                "/": 80
    23      # - name: myweb-2 # remove a component
    24      #   type: myworker
    25      #   properties:
    26      #     image: "busybox"
    27      #     cmd:
    28      #       - sleep
    29      #       - "1000"
    30      #     lives: "3"
    31      #     enemies: "alien"