Replies: 1 comment 1 reply
-
|
I believe this issue is the same as #14165, which is caused by #14053 and was not reverted in v3.5. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there. I'm facing a very strange behavior with one of my production workflows which I managed to isolate into the following example. I have this simple workflow (
my-workflow.yaml) which defines a DAG with two tasks:As you can see, there is a
loadtemplate (used by task1) which loads a dummy message stored in a file and coverts it into an output parameter. Theprinttemplate simply echoes the input parameter, which intask2is the output parameter produced bytask1. This runs perfectly fine andargo lintdoesn't complain.Now I want to decouple the
printtemplate into its own file, so I createmy-template.yamlwith the following content:I go back to
my-workflow.yamlto remove theprinttemplate definition and refactor thetask2so that it loads the template frommy-template:I apply my template with kubectl without any errors, and then run
argo lintagainst my workflow. Now I get:And it won't let me submit the workflow neither. What could be causing this? Am I missing something?
I'm using a clean, local installation of Argo v.3.5.15.
Linting with v3.6 succeeds without any error, but since I'm using v3.5.15 in production, I would like to know if there is anything I can do to work around this without upgrading.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions