Skip to content

Commit 5bd35c6

Browse files
committed
clarify that system will add acrpull role to system-assigned managed identity
1 parent 2198750 commit 5bd35c6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/container-apps/managed-identity-image-pull.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Create a container app revision with a private image and the system-assigned man
9393
1. Select **Save**.
9494
1. Select **Create** from the **Create and deploy new revision** page.
9595

96-
A new revision will be created and deployed. The portal will automatically attempt to add the `acrpull` role to the user-assigned managed identity. If the role isn't added, you can add it manually.
96+
A new revision will be created and deployed. The portal will automatically attempt to add the `acrpull` role to the user-assigned managed identity. If the role isn't added, you can add it manually. You can verify that the role was added by checking the identity in the **Identity** pane of the container app page.
9797

9898
### Clean up resources
9999

@@ -172,6 +172,8 @@ Edit the container to use the image from your private Azure Container Registry,
172172
1. Select **Create** at the bottom of the **Create and deploy new revision** page
173173
1. After a few minutes, select **Refresh** on the **Revision management** page to see the new revision.
174174

175+
A new revision will be created and deployed. The portal will automatically attempt to add the `acrpull` role to the system-assigned managed identity. If the role isn't added, you can add it manually. You can verify that the role was added by checking the identity in the **Identity** pane of the container app page.
176+
175177
### Clean up resources
176178

177179
If you're not going to continue to use this application, you can delete the Azure Container Apps instance and all the associated services by removing the resource group.
@@ -435,7 +437,7 @@ Create your container app with your image from the private registry authenticate
435437

436438
# [Azure CLI](#tab/azure-cli)
437439

438-
Copy the identity's resource ID to paste into the *\<IDENTITY_ID\>* placeholders in the command below.
440+
Copy the identity's resource ID to paste into the *\<IDENTITY_ID\>* placeholders in the command below. If your image tag isn't `latest`, replace 'latest' with it.
439441

440442
```azurecli
441443
echo $IDENTITY_ID
@@ -557,7 +559,7 @@ New-AzContainerApp @AppArgs
557559

558560
Update the container app with the image from your private container registry and add a system-assigned identity to authenticate the Azure Container Registry pull. You can also include other settings necessary for your container app, such as ingress, scale and Dapr settings.
559561

560-
If you are using an image tag other than `latest`, replace the `latest` value with your value.
562+
If your image tag isn't `latest`, replace 'latest' with it.
561563

562564

563565
# [Azure CLI](#tab/azure-cli)
@@ -569,7 +571,7 @@ az containerapp registry set \
569571
--name $CONTAINERAPP_NAME \
570572
--resource-group $RESOURCE_GROUP \
571573
--identity system \
572-
--server "$REGISTRY_NAME.azurecr.io"
574+
--server "$REGISTRY_NAME.azurecr.io:latest"
573575
```
574576

575577

0 commit comments

Comments
 (0)