github.com/oam-dev/kubevela@v1.9.11/test/e2e-test/testdata/app/app7.yaml (about)

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: Application
     3  metadata:
     4    name: test-worker
     5  spec:
     6    components:
     7      - name: myworker
     8        type: worker
     9        properties:
    10          image: nginx
    11        traits:
    12          - type: config
    13            properties:
    14              kind: "configMap"
    15              name: "app-file-html"
    16              configname: "file"
    17              data:
    18                test: "demo-app"
    19          - type: config
    20            properties:
    21              kind: "secret"
    22              name: "app-env-config"
    23              configname: "env"
    24              data:
    25                test: "TXlQQHNzMTIz"