Skip to content

Commit a96e882

Browse files
Merge pull request #265680 from v-jaswel/aca/v-jaswel_20240207
[ACA] Add method to create container app with private image
2 parents 87b5ba5 + f2fa8a8 commit a96e882

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The following steps describe the process to configure your container app to use
2929

3030
1. Create a container app with a public image.
3131
1. Add the user-assigned managed identity to the container app.
32-
1. Create a container app revision with a private image and the system-assigned managed identity.
32+
1. Create a container app revision with a private image and the user-assigned managed identity.
3333

3434
### Prerequisites
3535

@@ -118,6 +118,16 @@ You can verify that the role was added by checking the identity from the **Ident
118118
1. Select **Azure role assignments** from the menu on the managed identity resource page.
119119
1. Verify that the `acrpull` role is assigned to the user-assigned managed identity.
120120
121+
### Create a container app with a private image
122+
123+
If you don't want to start by creating a container app with a public image, you can also do the following.
124+
125+
1. Create a user-assigned managed identity.
126+
1. Add the `acrpull` role to the user-assigned managed identity.
127+
1. Create a container app with a private image and the user-assigned managed identity.
128+
129+
This method is typical in Infrastructure as Code (IaC) scenarios.
130+
121131
### Clean up resources
122132
123133
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.

0 commit comments

Comments
 (0)