-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Sidecar plugin requires discover command #12027
Comments
@gdsoumya would you have time to tackle this? |
Sure will take a look at the issue |
@crenshaw-dev by removing the need for a discovery mechanism we kind of make it open for mistakes where the plugin specified cannot actually support the app and also a plugin without discovery would not match any app that doesn't explicitly specify it's name are we good with these new limitations? |
Yep, I think those limitations make sense as long as they're well-documented. I think it would also really help for testing. Users can be certain that their plugin is being invoked. |
Sounds good, will get a pr in a few days. |
Did anyone notice the typo in |
@migueleliasweb I see that too, wonder if it's just in the error log or if there is also a typo in the code somewhere |
Checklist:
argocd version
.Describe the bug
When using the plugin sidecar format, even when calling the plugin by name a
discover
command is still required.To Reproduce
Sidecar log:
invalid plugin configuration file. at least one of discover.find.name.command or discover.find.glob or discover.fineName should be non-empty
Expected behavior
The appset runs through the plugin that has been specified by name, not having to put in a dummy discover command.
Screenshots
Version
Logs
The text was updated successfully, but these errors were encountered: