-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Error when using PodSpecPatch to parameterize ActiveDeadlineSeconds #2545
Comments
I did some digging and the error is thrown here: The underlying json error is If this is the case though, I'm not sure why the call to |
Thanks for your detailed debug information. We will take a look and work that. |
it is wrongly defined in podspec. Number element should not have ""s.
|
That resolved the issue, thanks! |
Checklist:
What happened:
I would like to parameterize activeDeadlineSeconds for my workflows so that a timeout can be set at time of workflow submission, similar to the request in #703 . The PodSpecPatch functionality added in #1687 seems like it would suit this use case. However Argo returns an error message when I try to submit a workflow with a PodSpecPatch that modifies the activeDeadlineSeconds:
Error in Unmarshalling after merge the patch
What you expected to happen:
A pod should be created from my workflow with activeDeadlineSeconds set to the value of the parameter.
How to reproduce it (as minimally and precisely as possible):
Submit the following workflow:
Anything else we need to know?:
Environment:
Other debugging information (if applicable):
Logs
Message from the maintainers:
If you are impacted by this bug please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: