Container Registry
Overview
{
"container_registry": {
"name": "crtest{env}",
"sku": "Basic",
"anonymous_pull": false,
"admin_user": true,
"keyvault": {
"@key_vault_name": "kv-testcr-{env}",
"secrets": {
"url": "cr-url",
"username": "cr-username",
"password": "cr-passwd"
}
},
"location": "northeurope",
"external": false,
"resource_group_name": "my-rg-name",
"tags": { "example": "S0" }
}
}
Container Registry Reference
| Key | Type | Description |
|---|
name (required) | string | The name of the Container Regsitry (see how to name) |
sku (required) | Container Registry SKU | The name of the container registry SKU to use |
zone_redundancy | bool | Whether or not zone redundancy is enabled (defaults to false) |
anonymous_pull | bool | Enables registry-wide pull from unauthenticated clients (defaults to false) |
admin_user | bool | Whether the admin user is enabled (defaults to true) |
location | string | Resource Location (defaults to the resource group location) |
external | bool | A reference to an existing Container Registry (defaults to false) |
resource_group_name | string | The name of the resource group where the resource is located, only with external resources (defaults to the resource group of the deployment) |
tags | object | Additional tags for the resource (defaults to no additional tags) |
ContainerRegistrySku
| Value | Description |
|---|
Basic | Basic Container Registry |
Classic | Classic Container Registry |
Standard | Standard Container Registry |
Premium | Premium Container Registry |
KeyVault
| Key | Type | Description |
|---|
@key_vault_name (required) | string | A reference to a key vault resource |
secrets (required) | Secrets | The secrets configuration |
Secrets
| Key | Type | Description |
|---|
url (required) | string | The name of the secret to hold the url of the container registry |
username (required) | string | The name of the secret to hold the admin username of the container registry |
password (required) | string | The name of the secret to hold the admin password of the container registry |