-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
argo submit
from a WorkflowTemplate with default exit handler produces "invalid field in spec" error
#3737
Comments
looks like some OS-specific CLI YAML parsing issue. I can see |
|
@mattskone There was a bug in 2.8, workflow default will not be applied on |
Available for testing in v2.11.0-rc1. |
Summary
Use Case
I would like to use the
argo submit --from workflowtemplate/[template_name]
command to run ad hocWorkflows
from an existingWorkflowTemplate
. This works fine. I would also like to have a default exit handler defined in the workflow controller configmap so that all of my workflows have the same exit behavior, but then when I runargo submit
, the resulting workflow fails immediately with:Steps to reproduce:
whalesay-template.yaml
using the sampleWorkflowTemplate
from the Argo docs:WorkflowTemplate
to your Argo cluster:argo
CLI to create and watch aWorkflow
from theWorkflowTemplate
:Expected behavior: The
Workflow
is successfully started. (Note that it subsequently fails because thedefault
service account has insufficient permissions, but that behavior is known and unrelated to this issue.)Actual behavior: The
Workflow
fails immediately with the failure message shown above. In version 2.9.5, this issue reproduces with a slightly different failure message:This behavior does not reproduce in version 2.8.2.
Diagnostics
What version of Argo Workflows are you running?
2.9.3
Here's the resulting
Workflow
YAML:Logs from the workflow controller:
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: