Local helm repo not updated from Azure Container Registry

Jasper Nygaard 1 Reputation point
2022-11-17T23:11:24.613+00:00

Setting ACR for hosting helm chart but getting some strange behavior.

Facts:

ACR added as repo locally, authenticated etc.
Tried adding the helm repo both with the helm repo add and az acr helm repo add command
Using ACR admin user for authentication.
Using Windows
Tried helm v3.10.1 and v3.10.2
Scenario #1:

pushing a helm chart with az acr helm push --name someacr .\someapi1-0.1.3.tgz
I can see the chart in the portal
Issuing helm repo update --debug (no errors)
When issuing helm search repo -l, there's nothing
Trying helm pull, also results in no chart
Scenario #2

pushing helm chart with az acr helm push --name someacr .\someapi1-0.1.3.tgz
I do not see the chart in the portal
Issuing helm repo update --debug (no errors)
When issuing helm search repo -l, I do see the chart
Trying helm pull, also results in downloading the chart
2 questions:

Can anyone explain when pushing with helm, I cannot see or pull the charts in the local repo? Essentially not use acr with native helm
When using the az acr helm wrapper, why can I not see the charts in the portal? Updating the local helm repo works and I can pull the charts down as expected - why?

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
508 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,487 Reputation points Moderator
    2022-11-21T07:12:13.087+00:00

    @Anonymous

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    In both the scenarios you mentioned, the command you are using is same az acr helm push --name someacr .\someapi1-0.1.3.tgz.
    May be you are seeing some difference of behaviors regards helm2 and helm3. However, this is not clear based on the description you have provided in the issue.

    Also, from this document that helm2, the az acr helm command is now deprecated, and since you are using helm3, whatever difference you are seeing can be considered problematic by design.

    Hope this helps.
    If you need further help on this, tag me in a comment.
    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    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.