Skip to content

Commit 77306c7

Browse files
Merge pull request #265515 from Nickomang/main
Updated ENV variable name for specificity
2 parents 8ea6155 + ec3a637 commit 77306c7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/aks/ingress-basic.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
138138
helm repo update
139139

140140
# Set variable for ACR location to use for pulling images
141-
ACR_URL=<REGISTRY_URL>
141+
ACR_LOGIN_SERVER=<REGISTRY_LOGIN_SERVER>
142142

143143
# Use Helm to deploy an NGINX ingress controller
144144
helm install ingress-nginx ingress-nginx/ingress-nginx \
@@ -147,19 +147,19 @@ helm install ingress-nginx ingress-nginx/ingress-nginx \
147147
--create-namespace \
148148
--set controller.replicaCount=2 \
149149
--set controller.nodeSelector."kubernetes\.io/os"=linux \
150-
--set controller.image.registry=$ACR_URL \
150+
--set controller.image.registry=$ACR_LOGIN_SERVER \
151151
--set controller.image.image=$CONTROLLER_IMAGE \
152152
--set controller.image.tag=$CONTROLLER_TAG \
153153
--set controller.image.digest="" \
154154
--set controller.admissionWebhooks.patch.nodeSelector."kubernetes\.io/os"=linux \
155155
--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz \
156156
--set controller.service.externalTrafficPolicy=Local \
157-
--set controller.admissionWebhooks.patch.image.registry=$ACR_URL \
157+
--set controller.admissionWebhooks.patch.image.registry=$ACR_LOGIN_SERVER \
158158
--set controller.admissionWebhooks.patch.image.image=$PATCH_IMAGE \
159159
--set controller.admissionWebhooks.patch.image.tag=$PATCH_TAG \
160160
--set controller.admissionWebhooks.patch.image.digest="" \
161161
--set defaultBackend.nodeSelector."kubernetes\.io/os"=linux \
162-
--set defaultBackend.image.registry=$ACR_URL \
162+
--set defaultBackend.image.registry=$ACR_LOGIN_SERVER \
163163
--set defaultBackend.image.image=$DEFAULTBACKEND_IMAGE \
164164
--set defaultBackend.image.tag=$DEFAULTBACKEND_TAG \
165165
--set defaultBackend.image.digest=""
@@ -215,7 +215,7 @@ helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
215215
helm repo update
216216

217217
# Set variable for ACR location to use for pulling images
218-
ACR_URL=<REGISTRY_URL>
218+
ACR_LOGIN_SERVER=<REGISTRY_LOGIN_SERVER>
219219

220220
# Use Helm to deploy an NGINX ingress controller
221221
helm install ingress-nginx ingress-nginx/ingress-nginx \
@@ -224,20 +224,20 @@ helm install ingress-nginx ingress-nginx/ingress-nginx \
224224
--create-namespace \
225225
--set controller.replicaCount=2 \
226226
--set controller.nodeSelector."kubernetes\.io/os"=linux \
227-
--set controller.image.registry=$ACR_URL \
227+
--set controller.image.registry=$ACR_LOGIN_SERVER \
228228
--set controller.image.image=$CONTROLLER_IMAGE \
229229
--set controller.image.tag=$CONTROLLER_TAG \
230230
--set controller.image.digest="" \
231231
--set controller.admissionWebhooks.patch.nodeSelector."kubernetes\.io/os"=linux \
232232
--set controller.service.loadBalancerIP=10.224.0.42 \
233233
--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-internal"=true \
234234
--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz \
235-
--set controller.admissionWebhooks.patch.image.registry=$ACR_URL \
235+
--set controller.admissionWebhooks.patch.image.registry=$ACR_LOGIN_SERVER \
236236
--set controller.admissionWebhooks.patch.image.image=$PATCH_IMAGE \
237237
--set controller.admissionWebhooks.patch.image.tag=$PATCH_TAG \
238238
--set controller.admissionWebhooks.patch.image.digest="" \
239239
--set defaultBackend.nodeSelector."kubernetes\.io/os"=linux \
240-
--set defaultBackend.image.registry=$ACR_URL \
240+
--set defaultBackend.image.registry=$ACR_LOGIN_SERVER \
241241
--set defaultBackend.image.image=$DEFAULTBACKEND_IMAGE \
242242
--set defaultBackend.image.tag=$DEFAULTBACKEND_TAG \
243243
--set defaultBackend.image.digest=""

0 commit comments

Comments
 (0)