-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow the --plugin flag to specify a directory of plugins (#911)
If someone specifies `sonobuoy run|gen --plugin X` then X ought to be allowed to be either a single plugin file or a directory of plugins. To avoid dropping errors intentionally or processing lots of unnecessary files, when processing a directory, we only consider *.yaml files. We also do not recurse deeper into the directory. Fixes #906 Signed-off-by: John Schnake <[email protected]>
- Loading branch information
1 parent
d9ca4ba
commit 06f638e
Showing
8 changed files
with
243 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.