simple.yaml 696 B

1234567891011121314151617181920212223242526272829303132333435
  1. apiVersion: argoproj.io/v1alpha1
  2. kind: WorkflowTemplate
  3. metadata:
  4. name: simple
  5. spec:
  6. entrypoint: front_json-flow
  7. arguments:
  8. parameters:
  9. - name: object
  10. value: {}
  11. templates:
  12. - name: front_json-flow
  13. inputs:
  14. parameters:
  15. - name: object
  16. dag:
  17. tasks:
  18. - name: parse_flow
  19. template: approval
  20. - name: approval
  21. suspend: {}
  22. inputs:
  23. parameters:
  24. - name: front_json
  25. default: '通过'
  26. enum:
  27. - '通过'
  28. - '拒绝'
  29. outputs:
  30. parameters:
  31. - name: front_json
  32. valueFrom:
  33. supplied: {}