[BUG] Error using custom rules which are in a subdirectory: Error: creating named volume \"kai-examples/rules\": running volume create option: names must match [a-zA-Z0-9][a-zA-Z0-9_.-]*: invalid argument\n" #357
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
Indicates an issue or PR lacks a `priority/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Is there an existing issue for this?
Konveyor version
Latest as of Oct 3rd build, SHA: 9928bb0
Priority
Critical
Current Behavior
I attempted to use Kantra with a custom rule directory which had some other subdirectories in it's path.
Example:
I am running in a directory that has:
When I specify
--rules ./kai_examples/rules
kantra shows the below errorGrabbed latest Kantra available as of Oct 12, it looks to be a build from October 3 2024.
Also confirmed I see this with v0.5.3
Expected Behavior
Assume kantra will be able to handle the extra directories in the path and use contents of the custom_rules directory
How Reproducible
Always (Default)
Steps To Reproduce
git clone https://github.com/konveyor-ecosystem/coolstore.git
git clone https://github.com/jmle/kai-examples.git
kantra analyze -i ./coolstore --enable-default-rulesets=false -o ./out --overwrite --rules ./kai-examples/rules
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: