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

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: Application
     3  metadata:
     4    name: test
     5  spec:
     6    components:
     7      - name: test
     8        properties:
     9          cmd:
    10            - sleep
    11            - -c
    12            - "86400"
    13          env:
    14            - name: testKey
    15              value: testValue
    16          image: busybox
    17          imagePullPolicy: IfNotPresent
    18        traits:
    19          - properties:
    20              key: val
    21            type: labels
    22          - properties:
    23              pvc:
    24                - accessModes:
    25                    - ReadWriteOnce
    26                  mountOnly: false
    27                  mountPath: /data
    28                  name: lvhyca
    29                  resources:
    30                    requests:
    31                      storage: 4096Mi
    32                  storageClassName: default
    33                  volumeMode: Filesystem
    34            type: storage
    35        type: webservice