clusterctl local repository mode does not handle windows paths #2658
Labels
area/clusterctl
Issues or PRs related to clusterctl
kind/bug
Categorizes issue or PR as related to a bug.
What steps did you take and what happened:
When setting up a local repository provider on windows and using windows style paths like so
When using GetClusterTemplate to obtain a cluster template, an error is reported by clusterctl:
because the url parsing library is interpreting c: as start of a url scheme
When using the file:/// scheme on windows like so
we encounter another error from clusterctl library
What did you expect to happen:
clusterctl library should be able to process some path format that works for windows file systems.
Anything else you would like to add:
no
Environment:
Cluster-api version:
/kind bug
/area clusterctl
/cc @fabriziopandini
The text was updated successfully, but these errors were encountered: