From bffd87e3e226f9a3e5c6b0e54147ed2596e3c947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C3=B3n=20Tom=C3=A1s?= Date: Tue, 16 May 2017 10:11:54 +0200 Subject: [PATCH] Change k8s deployment script to use internal names in urls for intercommunication between apis --- k8s/deploy.ps1 | 6 +++--- src/Web/WebMVC/Views/Shared/_Layout.cshtml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/k8s/deploy.ps1 b/k8s/deploy.ps1 index 255243f34..49b2648e7 100644 --- a/k8s/deploy.ps1 +++ b/k8s/deploy.ps1 @@ -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)' diff --git a/src/Web/WebMVC/Views/Shared/_Layout.cshtml b/src/Web/WebMVC/Views/Shared/_Layout.cshtml index ee8c407c2..456248b94 100644 --- a/src/Web/WebMVC/Views/Shared/_Layout.cshtml +++ b/src/Web/WebMVC/Views/Shared/_Layout.cshtml @@ -3,7 +3,7 @@ - @ViewData["Title"] - Microsoft.eShopOnContainers.WebMVC Azure + @ViewData["Title"] - Microsoft.eShopOnContainers.WebMVC