Triggering a CronWorkFlow from another flow
A workflow can easily trigger another workflow. I usually do this:
How to conditionally add a list item in Argo?
I have a workflow with a new spec.arguments.parameters
entry which is a string enum
with 'true'
and 'false'
as the possible values. I want to use this to conditionally add an entry to spec.templates.[some-index].container.args
. How do I do this? (I don’t want to add an empty string to the array; that’s going to cause problems down the line.)