Change k8s deployment script to use internal names in urls for intercommunication between apis

This commit is contained in:
Ramón Tomás 2017-05-16 10:11:54 +02:00
parent 4d7ea9460d
commit bffd87e3e2
2 changed files with 4 additions and 4 deletions

View File

@ -87,10 +87,10 @@ while ($true) {
} }
ExecKube -cmd 'create configmap urls ` ExecKube -cmd 'create configmap urls `
--from-literal=BasketUrl=http://$($frontendUrl)/basket-api ` --from-literal=BasketUrl=http://basket `
--from-literal=CatalogUrl=http://$($frontendUrl)/catalog-api ` --from-literal=CatalogUrl=http://catalog `
--from-literal=IdentityUrl=http://$($frontendUrl)/identity ` --from-literal=IdentityUrl=http://$($frontendUrl)/identity `
--from-literal=OrderingUrl=http://$($frontendUrl)/ordering-api ` --from-literal=OrderingUrl=http://ordering `
--from-literal=MvcClient=http://$($frontendUrl)/webmvc ` --from-literal=MvcClient=http://$($frontendUrl)/webmvc `
--from-literal=SpaClient=http://$($frontendUrl)' --from-literal=SpaClient=http://$($frontendUrl)'

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Microsoft.eShopOnContainers.WebMVC Azure</title> <title>@ViewData["Title"] - Microsoft.eShopOnContainers.WebMVC</title>
<environment names="Development"> <environment names="Development">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" /> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />