Skip to content

Commit 8af988a

Browse files
authored
Merge pull request Azure#56 from jacksonkays/add-priv-reg-doc
adding docs and assets for private registry support
2 parents 44b3f2c + 1c61664 commit 8af988a

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

documentation/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Below is the current list of capabilities that are in public preview -
66

77
- Custom Image Support: Ability to configure custom images to leverage different types of Infrastructure-as-Code (IaC) frameworks, utilize additional files in your environment definition during deployments, and customize your deployment and deletion workflows. You can find more information about this feature [here](https://github.com/Azure/deployment-environments/tree/main/documentation/custom-image-support)
88

9+
# Documentation on features in Private Preview
10+
11+
To learn more about steps to onboard to the Private Registry Private Preview, please follow the steps [here](custom-image-support/private-registry-support.md).
12+
913
> Note - If you are interested in learning more about private preview capabilities or would like to sign-up to gain early-access to new capabilities, please [email us](mailto:[email protected])
1014
1115
# Getting help or providing feedback
17.6 KB
Loading
40.1 KB
Loading
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# ADE Extensibility Model Private Registry Support
2+
This page is designed to help customers who have onboarded to the Private Registry Private Preview when using Azure Deployment Environments' extensibility model feature, allowing a customer's privately hosted images within an Azure Container Registry to be utilize to deploy infrastructure. At this time, the feature only supports private Azure Container Registry images.
3+
4+
> Note - If you are interested in learning more about private preview capabilities or would like to sign-up to gain early-access to new capabilities, please [email us](mailto:[email protected])
5+
6+
In order to successfully use the feature, ensure your subscription is onboarded to the preview within the region of your desired project. Next, you'll need to set your project environment type's identity to user-assigned, as opposed to using a system-assigned managed identity for deployment. To configure this, navigate to the 'Environment Types' blade of your selected project, and select an existing environment type to edit or add a new project environment type. Under the 'Deployment Identity' section, uncheck the default option for 'Use system assigned managed identity for deployment' and click the 'Add User assigned deployment identity option' to select a given user-assigned Managed Identity.
7+
8+
![A screenshot of the Azure Portal to add a user-assigned identity to the project environment type](addUserAssignedIdentity.png)
9+
10+
Next, navigate to your private Azure Container Registry resource, and select the 'Access Control (IAM)' blade on the right-hand side, and add a role assignment. In order to access your private registry, the user-assigned identity just added to your project environment type will need to have the 'AcrPull' role assigned. Select the role 'AcrPull', toggle the 'Assign access to' option to 'Managed Identity', and select the previously assigned User-Assigned identity to grant the role to.
11+
12+
![A screenshot of the Azure Portal to add the 'AcrPull' role to the project environment type's user-assigned identity](addAcrPullRole.png)
13+
14+
With these changes, your project environment type will now be configured to execute deployments based off of the images stored in your private container registry. Simply reference the image link in your environment definition manifest file, and your deployments and deletions will be executed with your custom private image. Here's an example below:
15+
16+
```yaml
17+
runner: "{YOUR_REGISTRY}.azurecr.io/{YOUR_REPOSITORY}:{YOUR_TAG}"
18+
```
19+
20+
# Getting help or providing feedback
21+
22+
If you are facing any issues, please create a new issue in [GitHub Issues](https://github.com/Azure/deployment-environments/issues).
23+
24+
If you have general feedback about the product, please submit the feedback on the [Developer Community](https://developercommunity.visualstudio.com/deploymentenvironments) or by [emailing us directly](mailto:[email protected]).

0 commit comments

Comments
 (0)