helmfile
helmfile copied to clipboard
External helmfile repo clone when ref consist of `/`
Hi! I have use case, where I need to be able to put any character into external helmfile's URL. Example of such MVP helmfile:
helmfiles:
- path: git::ssh://git@url/proj/[email protected]?feature/xd
when I try to run helmfile with such simple URL (which BTW will work fine in terraform), in here fails with error:
in ./helmfile.yaml: in .helmfiles[0]: locate: get: error downloading 'ssh://git::ssh://git@url/proj/[email protected]?feature/xd': /usr/bin/git exited with 128: Cloning into '/home/szymonri/Documents/work/repo/.helmfile/cache/ssh_url_proj_repo_git.feature/xd'...
Repository not found
A simple and smart replace somewhere in the function would probably suffice (I'll try to find it today, but if I won't get it, is it any chance to fix it?)