github.com/oam-dev/kubevela@v1.9.11/references/docgen/def-doc/workflowstep/export2secret.eg.md (about) 1 ```yaml 2 apiVersion: core.oam.dev/v1beta1 3 kind: Application 4 metadata: 5 name: export-secret 6 namespace: default 7 spec: 8 components: 9 - name: express-server-sec 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: express-server-sec 23 - name: export-secret 24 type: export2secret 25 inputs: 26 - from: status 27 parameterKey: data.serverstatus 28 properties: 29 secretName: my-secret 30 data: 31 testkey: | 32 testvalue 33 value-line-2 34 ```