From 0f4df1466184ebb25e0e23a5725c4c1dec8f8ffb Mon Sep 17 00:00:00 2001 From: Pragyesh Mishra Date: Mon, 11 Nov 2024 10:30:11 +0000 Subject: [PATCH] [fix]: [AH-487]: added oci prefix in helm pull command (#2968) * [fix]: [AH-487]: added oci prefix in helm command --- registry/app/api/controller/metadata/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/app/api/controller/metadata/utils.go b/registry/app/api/controller/metadata/utils.go index f4bb9ac2f..1da22fe4b 100644 --- a/registry/app/api/controller/metadata/utils.go +++ b/registry/app/api/controller/metadata/utils.go @@ -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.