@@ -138,7 +138,7 @@ helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
138
138
helm repo update
139
139
140
140
# Set variable for ACR location to use for pulling images
141
- ACR_URL=<REGISTRY_URL >
141
+ ACR_LOGIN_SERVER=<REGISTRY_LOGIN_SERVER >
142
142
143
143
# Use Helm to deploy an NGINX ingress controller
144
144
helm install ingress-nginx ingress-nginx/ingress-nginx \
@@ -147,19 +147,19 @@ helm install ingress-nginx ingress-nginx/ingress-nginx \
147
147
--create-namespace \
148
148
--set controller.replicaCount=2 \
149
149
--set controller.nodeSelector."kubernetes\.io/os"=linux \
150
- --set controller.image.registry=$ACR_URL \
150
+ --set controller.image.registry=$ACR_LOGIN_SERVER \
151
151
--set controller.image.image=$CONTROLLER_IMAGE \
152
152
--set controller.image.tag=$CONTROLLER_TAG \
153
153
--set controller.image.digest="" \
154
154
--set controller.admissionWebhooks.patch.nodeSelector."kubernetes\.io/os"=linux \
155
155
--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz \
156
156
--set controller.service.externalTrafficPolicy=Local \
157
- --set controller.admissionWebhooks.patch.image.registry=$ACR_URL \
157
+ --set controller.admissionWebhooks.patch.image.registry=$ACR_LOGIN_SERVER \
158
158
--set controller.admissionWebhooks.patch.image.image=$PATCH_IMAGE \
159
159
--set controller.admissionWebhooks.patch.image.tag=$PATCH_TAG \
160
160
--set controller.admissionWebhooks.patch.image.digest="" \
161
161
--set defaultBackend.nodeSelector."kubernetes\.io/os"=linux \
162
- --set defaultBackend.image.registry=$ACR_URL \
162
+ --set defaultBackend.image.registry=$ACR_LOGIN_SERVER \
163
163
--set defaultBackend.image.image=$DEFAULTBACKEND_IMAGE \
164
164
--set defaultBackend.image.tag=$DEFAULTBACKEND_TAG \
165
165
--set defaultBackend.image.digest=""
@@ -215,7 +215,7 @@ helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
215
215
helm repo update
216
216
217
217
# Set variable for ACR location to use for pulling images
218
- ACR_URL=<REGISTRY_URL >
218
+ ACR_LOGIN_SERVER=<REGISTRY_LOGIN_SERVER >
219
219
220
220
# Use Helm to deploy an NGINX ingress controller
221
221
helm install ingress-nginx ingress-nginx/ingress-nginx \
@@ -224,20 +224,20 @@ helm install ingress-nginx ingress-nginx/ingress-nginx \
224
224
--create-namespace \
225
225
--set controller.replicaCount=2 \
226
226
--set controller.nodeSelector."kubernetes\.io/os"=linux \
227
- --set controller.image.registry=$ACR_URL \
227
+ --set controller.image.registry=$ACR_LOGIN_SERVER \
228
228
--set controller.image.image=$CONTROLLER_IMAGE \
229
229
--set controller.image.tag=$CONTROLLER_TAG \
230
230
--set controller.image.digest="" \
231
231
--set controller.admissionWebhooks.patch.nodeSelector."kubernetes\.io/os"=linux \
232
232
--set controller.service.loadBalancerIP=10.224.0.42 \
233
233
--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-internal"=true \
234
234
--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 \
236
236
--set controller.admissionWebhooks.patch.image.image=$PATCH_IMAGE \
237
237
--set controller.admissionWebhooks.patch.image.tag=$PATCH_TAG \
238
238
--set controller.admissionWebhooks.patch.image.digest="" \
239
239
--set defaultBackend.nodeSelector."kubernetes\.io/os"=linux \
240
- --set defaultBackend.image.registry=$ACR_URL \
240
+ --set defaultBackend.image.registry=$ACR_LOGIN_SERVER \
241
241
--set defaultBackend.image.image=$DEFAULTBACKEND_IMAGE \
242
242
--set defaultBackend.image.tag=$DEFAULTBACKEND_TAG \
243
243
--set defaultBackend.image.digest=""
0 commit comments