[fix]: [AH-487]: added oci prefix in helm pull command (#2968)

* [fix]: [AH-487]: added oci prefix in helm command
pull/3586/head
Pragyesh Mishra 2024-11-11 10:30:11 +00:00 committed by Harness
parent d4c7f6930c
commit 0f4df14661
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ func GetDockerPullCommand(
}
func GetHelmPullCommand(image string, tag string, registryURL string) string {
return "helm install " + GetRepoURLWithoutProtocol(registryURL) + "/" + image + ":" + tag
return "helm pull oci://" + GetRepoURLWithoutProtocol(registryURL) + "/" + image + ":" + tag
}
// CleanURLPath removes leading and trailing spaces and trailing slashes from the given URL string.