github.com/kubevela/workflow@v0.6.0/examples/workflow-template/deploy-workflow.yaml (about) 1 apiVersion: core.oam.dev/v1alpha1 2 kind: Workflow 3 metadata: 4 name: deploy-template 5 namespace: default 6 steps: 7 - name: apply 8 type: apply-deployment 9 if: context.env == "dev" 10 properties: 11 image: nginx 12 - name: apply-test 13 type: apply-deployment 14 if: context.env == "test" 15 properties: 16 image: crccheck/hello-world