From 3a17a7aa4cb5f2a91424b506fc30075a604861a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduard=20Tom=C3=A0s?= Date: Tue, 10 Jul 2018 11:51:08 +0200 Subject: [PATCH] Updated 10.1 Deploying to AKS using Helm Charts (markdown) --- 10.1-Deploying-to-AKS-using-Helm-Charts.md | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/10.1-Deploying-to-AKS-using-Helm-Charts.md b/10.1-Deploying-to-AKS-using-Helm-Charts.md index 6a61a42..f15983d 100644 --- a/10.1-Deploying-to-AKS-using-Helm-Charts.md +++ b/10.1-Deploying-to-AKS-using-Helm-Charts.md @@ -106,4 +106,30 @@ The file `inf.yaml` contains the description of the infrastructure used. File is * `redis.keystore.constr` with the connection string to Redis for Keystore Service. Note that `redis.keystore.svc` is not used when using external services * `eventbus.constr` with the connection string to Azure Service Bus and `eventbus.useAzure` to `true` to use Azure service bus. Note that `eventbus.svc` is not used when using external services +### Using Azure storage for Catalog Photos + +Using Azure storage for catalog (and marketing) photos is not directly supported, but you can accomplish it by editing the file `k8s/helm/catalog-api/templates/configmap.yaml`. Search for lines: + +``` +catalog__PicBaseUrl: http://{{ $webshoppingapigw }}/api/v1/c/catalog/items/[0]/pic/ +``` + +And replace it for: + +``` +catalog__PicBaseUrl: http:/// +``` + +In the same way, to use Azure storage for the marketing service, have to edit the file `k8s/helm/marketing-api/templates/configmap.yaml` and replacing the line: + +``` +marketing__PicBaseUrl: http://{{ $webshoppingapigw }}/api/v1/c/catalog/items/[0]/pic/ +``` + +by: + +``` +marketing__PicBaseUrl: http:/// +``` +