argoproj / argo-workflows

Workflow Engine for Kubernetes
https://argo-workflows.readthedocs.io/
Apache License 2.0
15.11k stars 3.21k forks source link

fix: use templateName where possible else nothing #13836

Closed isubasinghe closed 3 weeks ago

isubasinghe commented 3 weeks ago

Motivation

This change ensures that we directly use the templateName first. In the case that we do not have this field, we then omit the template name all together.

Modifications

Use the node's templateName field directly, else omit entirely.

Verification

Tested on dags, steps and inline workflows.