Questions tagged [azure-acr]

Questions about Azure Container Registry service (ACR)

Azure Container Registry is a private containers registry hosted in Azure. It can be easily integrated with other Azure Services like WebApp for Containers or Azure Kubernetes Service.

36 questions
16
votes
4 answers

How to give permissions to AKS to access ACR via terraform?

Question and details How can I allow a Kubernetes cluster in Azure to talk to an Azure Container Registry via terraform? I want to load custom images from my Azure Container Registry. Unfortunately, I encounter a permissions error at the point…
hey
  • 2,643
  • 7
  • 29
  • 50
4
votes
3 answers

Failed to pull image "xx.azurecr.io/xx:latest": rpc error: code = Unknown desc = Error response from daemon: unauthorized: authentication required

My ACR and AKS are on same Azure Directory with same subscription. After giving ACR Pull access to my Service Principal, nothing worked and still getting this error. Error :- Failed to pull image "xx.azurecr.io/xx:latest": rpc error: code = Unknown…
Priyanka
  • 83
  • 1
  • 6
4
votes
1 answer

How to use updated docker image from ACR in AKS

I have a local docker image that was pushed to private Azure Container Registry. Then in Azure Kubernetes Service I have a cluster where I am using this image - from ACR. Now I wanted to update the image (realised that I needed to install zip and…
JleruOHeP
  • 10,106
  • 3
  • 45
  • 71
3
votes
4 answers

How can I use a SystemAssigned identity when pulling an image from Azure Container Registry into Azure Container Instances?

I want to create a container (or container group) in Azure Container Instances, pulling the image(s) from Azure Container Registry - but with using a SystemAssigned identity. With that I want to avoid using ACR login credentials, a service principal…
2
votes
1 answer

What is the expected way to integrate ACR to AKS?

Looking for the best way to integrate ACR with AKS for Producation environment, Seems there are multiple ways like, during installation, and after installation, using service principala,a nd using image pull secret etc.. So for our production…
Vowneee
  • 956
  • 10
  • 33
1
vote
1 answer

Azure golang SDK - Assign AcrPull role to AKS cluster

Having created an AKS cluster and ACR -- I am now trying to programatically grant the AKS cluster the AcrPull role. Currently I am attempting to do this using the RoleAssignmentsClient.Create() function from the golang SDK. Here is what I have tried…
1
vote
1 answer

How to use AKS managed identity in ArgoCD to connect to ACR?

I want to use user assigned or managed identity for AKS and ArgoCD to create an application. I assigned AcrPull on my ACR for AKS identity, and then tried to create a ArgoCD repo with argocd repo add myACR.azurecr.io --type helm --name helm…
JoeBloggs
  • 89
  • 7
1
vote
0 answers

Azure Error ServiceUnavailable when creating ACI

I'm trying to run powershell script to create ACI in a Azure DevOps release pipeline. The pipeline also pushes the docker image to ACR. My powershell script is: # Write your PowerShell commands here. Write-Host "Login with service principal" az…
1
vote
2 answers

Azure Kubernetes cannot pull a image from ACR container

I could use some help with Azure AKS and ACR Integration. I create a ACR container and attach this container to the AKS cluster. I enable managed identity when creating AKS and I was hoping that ACR also uses managed identity Here is the script I am…
1
vote
0 answers

AKS Helm Install - Not Authorized after connecting with ACR

I have a AKS and ACR, and attached the ACR successfully with my AKS using az aks update -n -g --attach-acr Yet, when I run the command below from this how-to-guide, I get a Error: failed pre-install: timed out waiting…
Niels Uitterdijk
  • 713
  • 9
  • 27
1
vote
1 answer

az acr build authentication for private docker registry with base images

We have some base images in private ACR and we would like to build images in other ACR using base images from the first registry. The build fails with authentication error. Is there a way how to authorize az acr build agent to remote docker registry…
dosmanak
  • 386
  • 2
  • 11
1
vote
1 answer

Terraform allow AKS to use ACR

This my Terraform code to create an AKS cluster and allow it to use my ACR (in the same subscription) : resource "azurerm_kubernetes_cluster" "aks" { name = var.aks-cluster-name location =…
1
vote
1 answer

I can't make Kubernetes in AKS to pull the images from a private docker registry in Azure

I have followed the instructions here https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/service_principal_client_secret So, I created a service principal az ad sp create-for-rbac -n TerraformSP --role="Contributor"…
Cleyton T.
  • 231
  • 3
  • 12
1
vote
0 answers

Docker Registry V2 API - Pushing an Image - Upload (PATCH) fails with 404

I am trying to use Docker Http V2 API to push an image following this link; https://docs.docker.com/registry/spec/api/#pushing-an-image; I could get the "Location" header value after POSTing to the /blob/uploads but the chunk/monolithic upload is…
Venkatesh Laguduva
  • 13,448
  • 6
  • 33
  • 45
1
vote
1 answer

GitHub Action Repository Secrets & how to secure client_payload repo dispatch event Azure Container Registry

Is there a way to pass data securely from between repos using the client_payload in a repository dispatch event? I create a repository dispatch event for a CI pipeline I have between my two of my repos. My first repo uses Terraform in a GitHub…
greg
  • 1,118
  • 1
  • 20
  • 40
1
2 3