ACR helm add helm repository

Nadav Salman 1 Reputation point
2022-03-07T08:40:49.28+00:00

Hi, I am trying to ACR as helm repo with an alias.
Seems like the repo added successfully, but any attempt to search or pull fails.

$ az acr helm repo add --name $ACR_NAME --resource-group rnd-devops  --username $USER_NAME  --password $PASSWORD
Argument 'resource_group_name' has been deprecated and will be removed in a future release.
This command is implicitly deprecated because command group 'acr helm' is deprecated and will be removed in a future release. Use 'helm v3' instead.
"<$ACR_NAME>" has been added to your repositories
$ echo $ACR_NAME
<$ACR_NAME>
$ helm repo list
NAME                    URL                                                    
<$ACR_NAME> https://<$ACR_NAME>.azurecr.io/helm/v1/repo
$ helm search repo $ACR_NAME 
No results found
$ helm  repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "<$ACR_NAME>" chart repository
Update Complete. ⎈Happy Helming!⎈
$ helm search repo $ACR_NAME 
No results found
$ helm pull $ACR_NAME/helm/core-services/elasticsearch --version 7.16.3
Error: chart "helm/core-services/elasticsearch" matching 7.16.3 not found in <$ACR_NAME> index. (try 'helm repo update'): no chart name found
$ helm version
version.BuildInfo{Version:"v3.8.0", GitCommit:"d14138609b01886f544b2025f5000351c9eb092e", GitTreeState:"clean", GoVersion:"go1.17.5"}

thanks.

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,156 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. shiva patpi 13,256 Reputation points Microsoft Employee
    2022-03-09T05:55:43.4+00:00

    Hello @Nadav Salman ,
    I think you cannot use helm to pull the image directly - you might have to create the chat and use the image in it. Basically helm is used to manage the charts. Like you can store the chart in the ACR and then we can use helm to install that chart. I think you have to mention the details of your image in values.yaml file.

    Please check out the below documents:

    https://learn.microsoft.com/en-us/azure/container-registry/container-registry-helm-repos
    https://github.com/MicrosoftDocs/azure-docs/issues/33430

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.