-
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 CLI: Lint: Enums can't have default in WorkflowTemplate #11471
Comments
Thanks for reporting this. We're looking for more contributors to support |
Yeah why not. I haven't had much time for OSS since my youngest was born and I've benefitted from Argo a lot. I'll probably do it from my personal account, @farmdawgnation. (I like to keep some separation between the "for work" and "not for work" stuff.) |
Congrats on your growing family! We completely understand that. Other contributors and I are happy to support you in investigating this and reviewing your PR. Please feel free to tag me here or on Slack if any questions as you're getting started. Note that we are working on improving the local dev setup but it can be a little rough around the edges for newcomers. If you're not on macOS we recommend using Nix to get started and develop locally. |
Signed-off-by: Matt Farmer <[email protected]>
Signed-off-by: Matt Farmer <[email protected]>
Signed-off-by: Matt Farmer <[email protected]>
Signed-off-by: Matt Farmer <[email protected]>
Signed-off-by: Matt Farmer <[email protected]> Signed-off-by: Dillen Padhiar <[email protected]>
Pre-requisites
:latest
What happened/what you expected to happen?
This appears to be a variation of #6044.
When creating a WorkflowTemplate I would expect that I can define an
enum
parameter that also provides adefault
matching one of the enum values if no value was provided when theWorkflowTemplate
becomes an actualWorkflow
. This does not appear to be the case. When I attempt toargo lint
this I get the following error:Version
v3.4.9
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: