You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
965 B

  1. {{- $name := include "catalog-api.fullname" . -}}
  2. {{- $sqlsrv := include "sql-name" . -}}
  3. {{- $webshoppingapigw := include "url-of" (list .Values.app.ingress.entries.webshoppingapigw .) -}}
  4. apiVersion: v1
  5. kind: ConfigMap
  6. metadata:
  7. name: "cfg-{{ $name }}"
  8. labels:
  9. app: {{ template "catalog-api.name" . }}
  10. chart: {{ template "catalog-api.chart" .}}
  11. release: {{ .Release.Name }}
  12. heritage: {{ .Release.Service }}
  13. data:
  14. catalog__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.catalog.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};
  15. catalog__PicBaseUrl: http://{{ $webshoppingapigw }}/api/v1/c/catalog/items/[0]/pic/
  16. catalog__AzureStorageEnabled: "{{ .Values.inf.misc.useAzureStorage }}"
  17. all__EventBusConnection: {{ .Values.inf.eventbus.constr }}
  18. all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
  19. all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}"