kubectl create -f - << EOF apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: generateName: steps- spec: entrypoint: hello # We reference our first "template" here templates: - name: hello # The first "template" in this Workflow, it is referenced by "entrypoint" steps: # The type of this "template" is "steps" - - name: hello template: whalesay # We reference our second "template" here arguments: parameters: [{name: message, value: "Hello ArgoWorkflow!"}] - name: whalesay # The second "template" in this Workflow, it is referenced by "hello" inputs: parameters: - name: message container: # The type of this "template" is "container" image: docker/whalesay command: [cowsay] args: ["{{inputs.parameters.message}}"] EOF