question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az acr helm repo login

See original GitHub issue

Is your feature request related to a problem? Please describe. I would love an option to use my currently-configured azure service principal to authenticate to ACR for helm without having to manually pipe/handle/enter credentials.

Describe the solution you’d like I’d love the command az acr helm repo login

Describe alternatives you’ve considered

  • Manual input, when at my terminal (doesn’t work for CI/CD)
  • Environment variables

Both options require me to extract and flow permanent credentials.

Additional context It would greatly simplify the advice found here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
tommy-dunncommented, Mar 24, 2021

@yugangw-msft any update on this? Almost been a year, still looking for azure supported authentication flow with helm3.

2reactions
ArgTangcommented, Oct 3, 2020

@SteveLasker When i tested OCI charts there was two blockers.

  1. helm (upgrade --)install myocirelease acrrepo/ocichart is not implemented. This is a user experience issue because it is a major workflow change, but more importantly is not compatible with tools like argocd and fluxcd.
  2. OCI charts as a dependency, is missing from helm. Any non trivial chart have one or more dependencies, so we are unable to migrate from non-oci charts.
apiVersion: v2
name: mychart
version: 1.0.0
dependencies:
- name: ocichart
  version 1.0.0
  repository: acrrepo.azure.io/myocichartdependency

I know it is being worked on and will be available in the future. But in my opinion without these features ready, it is somewhat premature to steer everyone towards using OCI charts and deprecating/removing the old workflow. Although I am talking about core Helm features, it has an impact on how to consume helm charts from the acr registry. I hope that helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

az acr helm repo | Microsoft Learn
The username used to log into a container registry. Global Parameters.
Read more >
Helm Registry Login to ACR - Stack Overflow
I have found ways to push and pull my charts but I cannot login to the registry in an OCI native way. At...
Read more >
How to Store Helm Charts in Azure Container Registry
Now we are going to log in to our registry using Azure managed keys, but we need to enable administrative control with az...
Read more >
ACR Unleashed – Use ACR As Registry For Helm Charts
Push, pull and install Helm charts from Azure Container Registry. ... Grab the ACR Id ACR_ID=$(az acr show -n unleashed --query id -o...
Read more >
What do you need to know about Helm 2, Helm 3, and ACR?
helm repo add --username <acr_username> --password <acr_password> ... az acr login --name <acr_name_or_login_server> --expose-token.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found