-
Notifications
You must be signed in to change notification settings - Fork 288
Description
Is your feature request related to a problem? Please describe.
For Kyverno Policies the system is currently use the "URL" for both: repository URL and path.
It is stated in documentation it must be:
https://github.com/user/repo[/path/to/packages]
However, this all-in-one URL approach is limiting and does not have a room for subgroups.
If repo is under https://github.com/user/subgroup[/subgroup..]/repo it is not possible to add it currently.
Describe the solution you'd like
Instead of getting the path from URL, specifying it as a separate field (like the branch is separate field already) will allow to use URL with subgroups.
Describe alternatives you've considered
It is also possible to allow to specify "git hosting platform specific parts" instead.
Additional context
I am trying to add this package in particular: https://gitlab.com/MaxIV/kubernetes/mortalgpu/-/tree/main/assets/kyverno
as repo ID: a13afacd-33a8-4af8-8e19-b40a8799117b