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

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: Application
     3  metadata:
     4    name: app-with-env-and-storage
     5    namespace: TEST_NAMESPACE
     6  spec:
     7    components:
     8      - name: data-worker
     9        type: worker
    10        properties:
    11          image: busybox
    12          cmd:
    13            - sleep
    14            - '1000000'
    15        traits:
    16          - type: env
    17            properties:
    18              env:
    19                TZ: Asia/Shanghai
    20          - type: storage
    21            properties:
    22              emptyDir:
    23                - name: jvm
    24                  mountPath: /jvm