|
|
- {{- $name := include "catalog-api.fullname" . -}}
- {{- $sqlsrv := include "sql-name" . -}}
- {{- $webshoppingapigw := include "url-of" (list .Values.app.ingress.entries.webshoppingapigw .) -}}
-
- apiVersion: v1
- kind: ConfigMap
- metadata:
- name: "cfg-{{ $name }}"
- labels:
- app: {{ template "catalog-api.name" . }}
- chart: {{ template "catalog-api.chart" .}}
- release: {{ .Release.Name }}
- heritage: {{ .Release.Service }}
- data:
- catalog__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.catalog.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};
- catalog__PicBaseUrl: http://{{ $webshoppingapigw }}/api/v1/c/catalog/items/[0]/pic/
- catalog__AzureStorageEnabled: "{{ .Values.inf.misc.useAzureStorage }}"
- all__EventBusConnection: {{ .Values.inf.eventbus.constr }}
- all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
- all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}"
|