'How do I create a simple Helm chart from an Argo workflow?

Is there a recommended way for packaging a workflow into a Helm Chart? I am interested in generating a very simple test with no values (variables). I followed the vary basic instructions from creating a chart found here

https://opensource.com/article/20/5/helm-charts

but this is the error when I tried to install it

Error: parse error at (testchart/templates/HelloWhale.yaml:143): function "tasks" not defined

I found this thread, but it is more complex than I want for now

https://stackoverflow.com/questions/64802290/how-can-i-use-argo-workflows-templates-in-helm


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source