diff --git a/wft.yaml b/wft.yaml deleted file mode 100644 index e79d3f12b76a..000000000000 --- a/wft.yaml +++ /dev/null @@ -1,56 +0,0 @@ -# Base workflow referenced by other workflow templates -# The goal is to create several different templates that can be used to conveniently instantiate -# this workflow with different default values. -apiVersion: argoproj.io/v1alpha1 -kind: WorkflowTemplate -metadata: - name: base-template - namespace: argo -spec: - entrypoint: base-main - arguments: - parameters: - - name: base1 - value: NO_DEFAULT # needed to make this show up in the UI, is there a better way? - - name: base2 - value: NO_DEFAULT - - name: base3 - value: NO_DEFAULT - templates: - - name: base-main - inputs: - parameters: - - name: base1 - - name: base2 - - name: base3 - container: - image: "docker/whalesay" - command: [cowsay] - args: - - "{{inputs.parameters.base1}}" - - "{{inputs.parameters.base2}}" - - "{{inputs.parameters.base3}}" - ---- -# The field reference suggests that WorkflowTemplateSpec has a workflowTemplateRef field on it, and this workflow template is -# able to be created, but when you submit via the UI or CLI it fails to find the entrypoint. -apiVersion: argoproj.io/v1alpha1 -kind: WorkflowTemplate -metadata: - name: child-template-broken - namespace: argo -spec: - entrypoint: base-main - arguments: - parameters: - # From UI or CLI, user can just set base3, and can override others if they wish - - name: base1 - value: default_value_1 - - name: base2 - value: default_value_2 - - name: base3 - value: NO_DEFAULT - workflowTemplateRef: - # Internal Server Error: template reference child-template.base-main not found - name: base-template # Base workflow referenced by other workflow templates - \ No newline at end of file