Octopus version: v2019.13.7
Helm version: v3.1.2
Helm repo: Internal Artifactory instance
When trying to deploy a Helm chart, the Acquire packages step fails with the exception
System.ArgumentException: Only 'http' and 'https' schemes are allowed. I’ve verified that Octopus can reach the repo and see the package in question. Also helm.exe is located in the PATH on the Octopus server but I suspect it’s not making it far enough for that to matter.
I’ve run out of settings that I know to look at so any advice on how to proceed would be greatly appreciated.
ServerTasks-179970.log.txt (5.3 KB)
Thanks for getting in touch! I’m sorry we didn’t get back to you earlier on this one. I’m just letting you know here that I’ve responded to your email, and we can continue the investigation into this issue there.
I figured out what is going on here. There’s a bug in Artifactory where non-virtual helm repos have invalid URLs in the index: https://www.jfrog.com/jira/browse/RTFACT-18464
Sample index.yaml generated by Artifactory:
- apiVersion: v2
It appears the helm cli tool doesn’t care about the “local://” scheme being returned and resolves the url accordingly. As per the Artifactory bug, I’ve setup a virtual repo and Octopus can pull the help charts just fine using the virtual repo address.
Hopefully this will help anyone else who runs in to this issue.