Browse Source

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

pull/235/head
Ramón Tomás 7 years ago
parent
commit
bffd87e3e2
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      k8s/deploy.ps1
  2. +1
    -1
      src/Web/WebMVC/Views/Shared/_Layout.cshtml

+ 3
- 3
k8s/deploy.ps1 View File

@ -87,10 +87,10 @@ while ($true) {
}
ExecKube -cmd 'create configmap urls `
--from-literal=BasketUrl=http://$($frontendUrl)/basket-api `
--from-literal=CatalogUrl=http://$($frontendUrl)/catalog-api `
--from-literal=BasketUrl=http://basket `
--from-literal=CatalogUrl=http://catalog `
--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=SpaClient=http://$($frontendUrl)'


+ 1
- 1
src/Web/WebMVC/Views/Shared/_Layout.cshtml View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<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">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />


Loading…
Cancel
Save