github.com/oam-dev/kubevela@v1.9.11/references/docgen/def-doc/workflowstep/export2config.eg.md (about)

     1  ```yaml
     2  apiVersion: core.oam.dev/v1beta1
     3  kind: Application
     4  metadata:
     5    name: export2config
     6    namespace: default
     7  spec:
     8    components:
     9      - name: export2config-demo-server
    10        type: webservice
    11        properties:
    12          image: oamdev/hello-world
    13          port: 8000
    14    workflow:
    15      steps:
    16        - name: apply-server
    17          type: apply-component
    18          outputs:
    19            - name: status
    20              valueFrom: output.status.conditions[0].message
    21          properties:
    22            component: export2config-demo-server
    23        - name: export-config
    24          type: export2config
    25          inputs:
    26            - from: status
    27              parameterKey: data.serverstatus
    28          properties:
    29            configName: my-configmap
    30            data:
    31              testkey: |
    32                testvalue
    33                value-line-2
    34  ```