You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wf_spec generates a workflow spec (workflowSpec is just a field on most argo CR manifests). The spec can be used on any argo CR: Workflow, WorkflowTemplate, CronWorkflow, ClusterWorkflowTemplate, etc. We'd expect you to use it similar to how you have shown above: by creating the actual resource with a kubectl_manifest iac block that utilized the output of wf_spec in the appropriate location (which depends on what CR you are creating).
It was an intentional design decision to only have the one wf_spec module that could be used when creating any Argo CR rather than individual modules for each argo CR.
What we could do is go ahead and create individual modules such as wf_cron, wf_template, wf_cluster_template, etc. that wraps wf_spec, adds additional fields (similar to how kube_deployment wraps kube_pod), and actually creates the resources. Is that the ask here?
However, we wouldn't add additional fields to wf_spec b/c the CronWorkflow fields are not on the Worfklow schema.
Prior Search
What new functionality would you like to see?
I would love to be able to create CronWorkflows using the wf_spec module as well.
How would you use this new functionality?
I imagine being able to pass an object schedule that contains the properties outlined in the documentation https://argo-workflows.readthedocs.io/en/latest/cron-workflows/#cronworkflow-options.
The text was updated successfully, but these errors were encountered: