helmfile icon indicating copy to clipboard operation
helmfile copied to clipboard

External helmfile repo clone when ref consist of `/`

Open szymonrychu opened this issue 3 years ago • 0 comments

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?)

szymonrychu avatar Apr 13 '22 09:04 szymonrychu