Associate Azure Container Registry and Kubernetes Cluster

Make Azure Container Registry and Azure Kubernetes Service instance talk to each other secure.

We need to grant permission to our Kubernetes cluster service principal to be able to pull docker images from our private container registry.

In order to grant acrpull permission to AKS service principal, we need :

  • AKS server principal ID
  • Resource ID of the Azure container registry

Finally, we are going to grant the acrpull permission to SERVER_PRINCIPLE_ID on ACR_RESOURCE_ID