Browse Source

catalog and ordering cluster added

pull/114/head
selmankoc 4 years ago
parent
commit
bbdaff21b9
  1. 12
      etc/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-configmap.yaml
  2. 6
      etc/k8s/eshoponabp/values.azure.yaml

12
etc/k8s/eshoponabp/charts/gateway-web/templates/gateway-web-configmap.yaml

@ -42,6 +42,18 @@ data:
"Match": {
"Path": "/api/setting-management/{**everything}"
}
},
"Catalog Service": {
"ClusterId": "catalogCluster",
"Match": {
"Path": "/api/catalog/{**everything}"
}
},
"Ordering Service": {
"ClusterId": "orderingCluster",
"Match": {
"Path": "/api/ordering/{**everything}"
}
}
},
"Clusters": {

6
etc/k8s/eshoponabp/values.azure.yaml

@ -2,7 +2,7 @@
authserver:
config:
selfUrl: https://auth.eshoponabp.com
corsOrigins: https://www.gateway.eshoponabp.com,https://www.gateway-public.eshoponabp.com,https://identity.eshoponabp.com,https://administration.eshoponabp.com,https://basket.eshoponabp.com,https://catalog.eshoponabp.com,https://order.eshoponabp.com,https://payment.eshoponabp.com
corsOrigins: https://www.gateway.eshoponabp.com,https://www.gateway-public.eshoponabp.com,https://identity.eshoponabp.com,https://administration.eshoponabp.com,https://basket.eshoponabp.com,https://catalog.eshoponabp.com,https://order.eshoponabp.com,https://payment.eshoponabp.com,https://admin.eshoponabp.com,https://eshoponabp.com
allowedRedirectUrls: https://admin.eshoponabp.com
authServer:
authority: https://auth.eshoponabp.com
@ -145,9 +145,9 @@ gateway-web:
administrationService:
url: http://eshop-az-administration
catalogService:
url: http://eshop-st-catalog
url: http://eshop-az-catalog
orderingService:
url: http://eshop-st-ordering
url: http://eshop-az-ordering
# gateway-web-public sub-chart override
gateway-web-public:

Loading…
Cancel
Save