Is this a BUG REPORT or FEATURE REQUEST?: FEATURE REQUEST
What happened:
The Addon CR expects the Workflow template to be a string which leads to unnecessary confusion because it is difficult to debug issues related to resource indentation in the YAML string.
What you expected to happen:
Provide an option to define actual Workflow resource using unstructured.Unstructured.
Anything else we need to know?:
I have already done a similar feature in Argo-Events https://github.com/argoproj/argo-events/blob/master/pkg/apis/sensor/v1alpha1/types.go#L568
Is this a BUG REPORT or FEATURE REQUEST?: FEATURE REQUEST
What happened:
The
AddonCR expects theWorkflowtemplate to be a string which leads to unnecessary confusion because it is difficult to debug issues related to resource indentation in the YAML string.What you expected to happen:
Provide an option to define actual
Workflowresource usingunstructured.Unstructured.Anything else we need to know?:
I have already done a similar feature in
Argo-Eventshttps://github.com/argoproj/argo-events/blob/master/pkg/apis/sensor/v1alpha1/types.go#L568