Skip to content

Commit 323db36

Browse files
authored
Merge pull request #113588 from hebo4096/hebo4096-patch-2
Update azure-arc-enable-cluster.md
2 parents 09980c1 + 9526fba commit 323db36

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/container-apps/azure-arc-enable-cluster.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,12 @@ A [Log Analytics workspace](../azure-monitor/logs/quick-create-workspace.md) pro
226226
--query customerId \
227227
--output tsv)
228228
LOG_ANALYTICS_WORKSPACE_ID_ENC=$(printf %s $LOG_ANALYTICS_WORKSPACE_ID | base64 -w0) # Needed for the next step
229-
lOG_ANALYTICS_KEY=$(az monitor log-analytics workspace get-shared-keys \
229+
LOG_ANALYTICS_KEY=$(az monitor log-analytics workspace get-shared-keys \
230230
--resource-group $GROUP_NAME \
231231
--workspace-name $WORKSPACE_NAME \
232232
--query primarySharedKey \
233233
--output tsv)
234-
lOG_ANALYTICS_KEY_ENC=$(printf %s $lOG_ANALYTICS_KEY | base64 -w0) # Needed for the next step
234+
LOG_ANALYTICS_KEY_ENC=$(printf %s $LOG_ANALYTICS_KEY | base64 -w0) # Needed for the next step
235235
```
236236
237237
# [PowerShell](#tab/azure-powershell)
@@ -243,12 +243,12 @@ A [Log Analytics workspace](../azure-monitor/logs/quick-create-workspace.md) pro
243243
--query customerId `
244244
--output tsv)
245245
$LOG_ANALYTICS_WORKSPACE_ID_ENC=[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($LOG_ANALYTICS_WORKSPACE_ID))# Needed for the next step
246-
$lOG_ANALYTICS_KEY=$(az monitor log-analytics workspace get-shared-keys `
246+
$LOG_ANALYTICS_KEY=$(az monitor log-analytics workspace get-shared-keys `
247247
--resource-group $GROUP_NAME `
248248
--workspace-name $WORKSPACE_NAME `
249249
--query primarySharedKey `
250250
--output tsv)
251-
$lOG_ANALYTICS_KEY_ENC=[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($lOG_ANALYTICS_KEY))
251+
$LOG_ANALYTICS_KEY_ENC=[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($LOG_ANALYTICS_KEY))
252252
```
253253
254254
---
@@ -296,7 +296,7 @@ A [Log Analytics workspace](../azure-monitor/logs/quick-create-workspace.md) pro
296296
--configuration-settings "envoy.annotations.service.beta.kubernetes.io/azure-load-balancer-resource-group=${AKS_CLUSTER_GROUP_NAME}" \
297297
--configuration-settings "logProcessor.appLogs.destination=log-analytics" \
298298
--configuration-protected-settings "logProcessor.appLogs.logAnalyticsConfig.customerId=${LOG_ANALYTICS_WORKSPACE_ID_ENC}" \
299-
--configuration-protected-settings "logProcessor.appLogs.logAnalyticsConfig.sharedKey=${lOG_ANALYTICS_KEY_ENC}"
299+
--configuration-protected-settings "logProcessor.appLogs.logAnalyticsConfig.sharedKey=${LOG_ANALYTICS_KEY_ENC}"
300300
```
301301
302302
# [PowerShell](#tab/azure-powershell)
@@ -318,7 +318,7 @@ A [Log Analytics workspace](../azure-monitor/logs/quick-create-workspace.md) pro
318318
--configuration-settings "envoy.annotations.service.beta.kubernetes.io/azure-load-balancer-resource-group=${AKS_CLUSTER_GROUP_NAME}" `
319319
--configuration-settings "logProcessor.appLogs.destination=log-analytics" `
320320
--configuration-protected-settings "logProcessor.appLogs.logAnalyticsConfig.customerId=${LOG_ANALYTICS_WORKSPACE_ID_ENC}" `
321-
--configuration-protected-settings "logProcessor.appLogs.logAnalyticsConfig.sharedKey=${lOG_ANALYTICS_KEY_ENC}"
321+
--configuration-protected-settings "logProcessor.appLogs.logAnalyticsConfig.sharedKey=${LOG_ANALYTICS_KEY_ENC}"
322322
```
323323
324324
---

0 commit comments

Comments
 (0)