-
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
Workflow created from Workflowtemplate doesn't respect the activeDeadlineSeconds defined the Workflowtemplate #4044
Comments
Hmmm it's not obvious to me what should take precedence between the WorkflowTemplate and the workflow defaults. If you were to manually set the workflow's I'll discuss with the team and get back. |
Order of precedence:
|
But that order of precedence is paradoxical: If there is a workflow default, then each submitted workflow will be modified. If a submitted workflow is modified, then it will override the workflow template. To keep the desired order of preference that @alexec mentioned, we would have to add logic for workflow defaults to not apply to workflows that call other workflow templates and said workflow templates contain the same settings that the workflow defaults do. It doesn't seem to be desirable logic to have in the codebase. |
…lateRef scenario. Fixes argoproj#4044 (argoproj#4063) Signed-off-by: Alex Capras <[email protected]>
Summary
Expect the workflow has activeDeadlineSeconds: 36000
But instead, the workflow has activeDeadlineSeconds: 86400 which is from the controller workflow defaults
Diagnostics
What version of Argo Workflows are you running?
Client:
Server:
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: