Skip to content

Commit c7b8099

Browse files
edits
1 parent 3d73529 commit c7b8099

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

articles/container-registry/quickstart-connected-registry-arc-cli.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ By deploying the connected Registry Arc extension, you can synchronize container
8989
9090
For secure deployment of the connected registry extension, generate the connection string, including a new password, transport protocol, and create the `protected-settings-extension.json` file required for the extension deployment with [az acr connected-registry get-settings][az-acr-connected-registry-get-settings] command:
9191
92-
```bash
92+
```bash
9393
cat << EOF > protected-settings-extension.json
9494
{
9595
"connectionString": "$(az acr connected-registry get-settings \
@@ -100,9 +100,9 @@ By deploying the connected Registry Arc extension, you can synchronize container
100100
--query ACR_REGISTRY_CONNECTION_STRING --output tsv --yes)"
101101
}
102102
EOF
103-
```
103+
```
104104

105-
```bash
105+
```bash
106106
cat << EOF > protected-settings-extension.json
107107
{
108108
"connectionString": "$(az acr connected-registry get-settings \
@@ -113,9 +113,9 @@ By deploying the connected Registry Arc extension, you can synchronize container
113113
--query ACR_REGISTRY_CONNECTION_STRING --output tsv --yes)"
114114
}
115115
EOF
116-
```
116+
```
117117
118-
```azurepowershell
118+
```azurepowershell
119119
echo "{\"connectionString\":\"$(az acr connected-registry get-settings \
120120
--name myconnectedregistry \
121121
--registry myacrregistry \
@@ -124,7 +124,7 @@ By deploying the connected Registry Arc extension, you can synchronize container
124124
--query ACR_REGISTRY_CONNECTION_STRING \
125125
--output tsv \
126126
--yes | tr -d '\r')\" }" > settings.json
127-
```
127+
```
128128
129129
>[!NOTE]
130130
> The cat and echo commands create the `protected-settings-extension.json` file with the connection string details, injecting the contents of the connection string into the `protected-settings-extension.json` file, a necessary step for the extension deployment. The [az acr connected-registry get-settings][az-acr-connected-registry-get-settings] command generates the connection string, including the creation of a new password and the specification of the transport protocol.
@@ -133,15 +133,15 @@ By deploying the connected Registry Arc extension, you can synchronize container
133133
134134
Deploy the connected registry extension with the specified configuration details using the [az k8s-extension create][az-k8s-extension-create] command:
135135
136-
```azurecli
136+
```azurecli
137137
az k8s-extension create --cluster-name myarck8scluster \
138138
--cluster-type connectedClusters \
139139
--extension-type Microsoft.ContainerRegistry.ConnectedRegistry \
140140
--name myconnectedregistry \
141141
--resource-group myresourcegroup \
142142
--config service.clusterIP=192.100.100.1 \
143143
--config-protected-file protected-settings-extension.json
144-
```
144+
```
145145
146146
- The [az k8s-extension create][az-k8s-extension-create] command deploys the connected registry extension on the Kubernetes cluster with the provided configuration parameters and protected settings file.
147147
- It ensures secure trust distribution between the connected registry and all client nodes within the cluster, and installs the cert-manager service for Transport Layer Security (TLS) encryption.
@@ -156,15 +156,16 @@ To verify the deployment of the connected registry extension on the Arc-enabled
156156
157157
Run the [az k8s-extension show][az-k8s-extension-show] command to check the deployment status of the connected registry extension:
158158
159-
```azurecli
159+
```azurecli
160160
az k8s-extension show --name myconnectedregistry \
161161
--cluster-name myarck8scluster \
162162
--resource-group myresourcegroup \
163163
--cluster-type connectedClusters
164-
```
164+
```
165+
165166
**Example Output**
166167
167-
```output
168+
```output
168169
{
169170
"aksAssignedIdentity": null,
170171
"autoUpgradeMinorVersion": true,
@@ -211,7 +212,7 @@ To verify the deployment of the connected registry extension on the Arc-enabled
211212
"type": "Microsoft.KubernetesConfiguration/extensions",
212213
"version": null
213214
}
214-
```
215+
```
215216
216217
2. Verify the connected registry status and state
217218
@@ -235,11 +236,11 @@ To verify the deployment of the connected registry extension on the Arc-enabled
235236
236237
For details on a specific connected registry, use [az acr connected-registry show][az-acr-connected-registry-show] command:
237238
238-
```azurecli
239+
```azurecli
239240
az acr connected-registry show --registry myacrregistry \
240241
--name myreadonlyacr \
241242
--output table
242-
```
243+
```
243244
244245
**Example Output**
245246

articles/container-registry/tutorial-connected-registry-arc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ Connected registry trust distribution refers to the process of securely distribu
3232
In this tutorial, you:
3333

3434
> [!div class="checklist"]
35-
> - [Deploy Connected registry extension using preinstalled cert-manager.](#deploy-connected-registry-extension-using-preinstalled-cert-manager)
35+
> - [Deploy Connected registry extension using preinstalled cert-manager.](#deploy-connected-registry-extension-using-your-preinstalled-cert-manager)
3636
> - [Deploy Connected registry extension using Bring Your Own Certificate (BYOC).](#deploy-connected-registry-extension-using-bring-your-own-certificate-byoc)
3737
> - [Deploy Connected registry with kubernetes secret management.](#deploy-connected-registry-with-kubernetes-secret-management)
38-
> - [Deploy the Connected registry Arc extension with inherent trust distribution or reject Connected registry trust distribution.](#deploy-the-connected-registry-arc-extension-with-inherent-trust-distribution-and-reject-connected-registry-trust-distribution)
38+
> - [Deploy the Connected registry Arc extension with inherent trust distribution or reject Connected registry trust distribution.](#deploy-the-connected-registry-using-your-own-trust-distribution-and-disable-the-connected-registrys-default-trust-distribution)
3939
4040
## Prerequisites
4141

0 commit comments

Comments
 (0)