Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 7d4ddca

Browse files
committed
Added missing entries for k8s
1 parent 309b6cc commit 7d4ddca

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

k8s/deploy.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,19 +147,22 @@ ExecKube -cmd 'create configmap urls `
147147
--from-literal=MvcClientCatalogUrl=http://catalog `
148148
--from-literal=MvcClientBasketUrl=http://basket `
149149
--from-literal=MvcClientMarketingUrl=http://marketing `
150+
--from-literal=MvcClientLocationsUrl=http://locations'
150151
--from-literal=MarketingHealthCheckUrl=http://marketing/hc `
151152
--from-literal=WebSpaHealthCheckUrl=http://webspa/hc `
152153
--from-literal=SpaClientMarketingExternalUrl=http://$($externalDns)/marketing-api `
153154
--from-literal=SpaClientOrderingExternalUrl=http://$($externalDns)/ordering-api `
154155
--from-literal=SpaClientCatalogExternalUrl=http://$($externalDns)/catalog-api `
155156
--from-literal=SpaClientBasketExternalUrl=http://$($externalDns)/basket-api `
156157
--from-literal=SpaClientIdentityExternalUrl=http://$($externalDns)/identity `
158+
--from-literal=SpaClientLocationsUrl=http://$($externalDns)/locations-api'
157159
--from-literal=LocationsHealthCheckUrl=http://locations/hc `
158160
--from-literal=SpaClientExternalUrl=http://$($externalDns) `
159161
--from-literal=LocationApiClient=http://$($externalDns)/locations-api `
160162
--from-literal=MarketingApiClient=http://$($externalDns)/marketing-api `
161163
--from-literal=BasketApiClient=http://$($externalDns)/basket-api `
162164
--from-literal=OrderingApiClient=http://$($externalDns)/ordering-api'
165+
163166

164167
ExecKube -cmd 'label configmap urls app=eshop'
165168

k8s/deployments.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,11 @@ spec:
384384
configMapKeyRef:
385385
name: urls
386386
key: MvcClientExternalUrl
387+
- name: LocationsUrl
388+
valueFrom:
389+
configMapKeyRef:
390+
name: urls
391+
key: MvcClientLocationsUrl
387392
- name: CatalogUrl
388393
valueFrom:
389394
configMapKeyRef:
@@ -528,7 +533,12 @@ spec:
528533
valueFrom:
529534
configMapKeyRef:
530535
name: urls
531-
key: SpaClientMarketingExternalUrl
536+
key: SpaClientMarketingExternalUrl
537+
- name: LocationsUrl
538+
valueFrom:
539+
configMapKeyRef:
540+
name: urls
541+
key: SpaClientLocationsUrl
532542
- name: BasketUrlHC
533543
valueFrom:
534544
configMapKeyRef:

src/Web/WebMVC/appsettings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"MarketingUrl": "http://localhost:5110",
66
"IdentityUrl": "http://localhost:5105",
77
"CallBackUrl": "http://localhost:5100/",
8+
"LocationsUrl": "http://localhost:5109/",
89
"IsClusterEnv": "False",
910
"UseResilientHttp": "True",
10-
"UseLoadTest": false,
11+
"UseLoadTest": false,
1112
"ActivateCampaignDetailFunction": "False",
1213
"UseCustomizationData": false,
1314
"Logging": {

0 commit comments

Comments
 (0)