AKS imagePull authentication to Azure Container Registry
A pod running in an AKS cluster and trying to pull an image from ACR needs Reader permissions on that ACR.
The simplest way to do this is give the AKS cluster service principal Reader access on the ACR as follows:
First, get the ID of the AKS cluster service principal (note, when you create an AKS cluster an SP is automatically generated):
Now get the ID of your Azure Container Registry:
Now grant your AKS cluster SP Reader rights on your ACR:
NOTE: Trying to pull a non existent tag can result in an authentication error (e.g. myreg.azurecr.io/docker-camunda:latest as opposed to myreg.azurecr.io/docker-camunda:myreg.azurecr.io/docker-camunda:0.0.10)