This website works better with JavaScript.
Home
Explore
Help
Sign In
ayan.poddar
/
eShopOnContainers
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
19
Wiki
Activity
Browse Source
deploy-all.ps1 failed when non-json output
Fixes
#906
pull/1049/head
Will 保哥
5 years ago
committed by
GitHub
parent
93727c259c
commit
d77dca26e2
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
k8s/helm/deploy-all.ps1
+ 1
- 1
k8s/helm/deploy-all.ps1
View File
@ -28,7 +28,7 @@ if ($externalDns -eq "aks") {
exit
1
}
Write-Host
"
Getting DNS of AKS of AKS
$
aksName (in resource group
$
aksRg)...
"
-ForegroundColor
Green
$dns
=
$
(
az
aks
show
-n
$aksName
-g
$aksRg
-
-query
addonProfiles
.
httpApplicationRouting
.
config
.
HTTPApplicationRoutingZoneName
)
$dns
=
$
(
az
aks
show
-n
$aksName
-g
$aksRg
-
-query
addonProfiles
.
httpApplicationRouting
.
config
.
HTTPApplicationRoutingZoneName
-o
json
)
if
(
[string]
::
IsNullOrEmpty
(
$dns
)
)
{
Write-Host
"
Error getting DNS of AKS
$
aksName (in resource group
$
aksRg). Please ensure AKS has httpRouting enabled AND Azure CLI is logged & in version 2.0.37 or higher
"
-ForegroundColor
Red
exit
1
Write
Preview
Loading…
Cancel
Save