Problem Statement:
After creating a Deploy pipeline for a Helm Chart, the chart is uploaded to the OCI Registry. You will see the created manifest under Service refer to the chart from OCI registry. But an error will pop up saying “invalid host name format”
Console will will display:
Failed to fetch values yaml from OCI_HELM repo. Failed to fetch chart “harness-delegate-ng” from repo “oci_delegate_helm”. Please check if the chart is present in the repo. Details: Error: invalid host name format
HelmValuesFetchTaskNG execution failed with exception Failed to fetch chart “harness-delegate-ng” from repo “oci_delegate_helm”. Please check if the chart is present in the repo. Details: Error: invalid host name format
Solution:
The issue is related to the OCI connector and the URL that is used in the connector
Harness Documentation site provides more details on the URL’s that are supported: