Closed julienbourgoin-maif closed 1 year ago
Just realized it's a duplicate of https://github.com/Azure/Azure-Spring-Apps/issues/42
Spoke with @julienbourgoin-maif and concluded that this is a duplicate of #42 .. Julien will continue the conversation in issue #42
Is your feature request related to a problem? Please describe.
I tried to create an app using a custom container runtime. I gave to this app a system assigned identity. I gave to this identity, a role assignment AcrPull on my Azure Container Registry.
When I tried to create a deployment on this app, I used this kind of azure cli command:
Unfortunately, spring apps was not able to pull my docker image on the ACR.
It seems that ASA is not compatible with ACR rbac. To make it work, I had to add the following args to my command:
And the role assignment AcrPull is useless for the moment.
Describe the solution you'd like
I should be able to use the app identity to pull my docker images in ACR. I should not have to use a username / password to do that.