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.

40 lines
2.0 KiB

6 years ago
  1. {{- $name := include "identity-api.fullname" . -}}
  2. {{- $sqlsrv := include "sql-name" . -}}
  3. {{- $mvc_url := include "url-of" (list .Values.app.ingress.entries.mvc .) -}}
  4. {{- $spa_url := include "url-of" (list .Values.app.ingress.entries.spa .) -}}
  5. {{- $locations_url := include "url-of" (list .Values.app.ingress.entries.locations .) -}}
  6. {{- $marketing_url := include "url-of" (list .Values.app.ingress.entries.marketing .) -}}
  7. {{- $basket_url := include "url-of" (list .Values.app.ingress.entries.basket .) -}}
  8. {{- $ordering_url := include "url-of" (list .Values.app.ingress.entries.ordering .) -}}
  9. {{- $mobileshoppingagg := include "url-of" (list .Values.app.ingress.entries.mobileshoppingagg .) -}}
  10. {{- $webhoppingagg := include "url-of" (list .Values.app.ingress.entries.webshoppingagg .) -}}
  11. {{- $xamarincallback := include "url-of" (list "xamarincallback" .) -}}
  12. {{- $webhooks_url := include "url-of" (list .Values.app.ingress.entries.webhooks .) -}}
  13. {{- $webhooksweb_url := include "url-of" (list .Values.app.ingress.entries.webhooksweb .) -}}
  14. apiVersion: v1
  15. kind: ConfigMap
  16. metadata:
  17. name: "cfg-{{ $name }}"
  18. labels:
  19. app: {{ template "identity-api.name" . }}
  20. chart: {{ template "identity-api.chart" .}}
  21. release: {{ .Release.Name }}
  22. heritage: {{ .Release.Service }}
  23. data:
  24. identity__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.identity.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};
  25. identity__keystore: {{ .Values.inf.redis.keystore.constr }}
  26. all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
  27. mvc_e: http://{{ $mvc_url }}
  28. spa_e: http://{{ $spa_url }}
  29. locations_e: http://{{ $locations_url }}
  30. marketing_e: http://{{ $marketing_url }}
  31. basket_e: http://{{ $basket_url }}
  32. ordering_e: http://{{ $ordering_url }}
  33. mobileshoppingagg_e: http://{{ $mobileshoppingagg }}
  34. webshoppingagg_e: http://{{ $webhoppingagg }}
  35. xamarin_callback_e: http://{{ $xamarincallback }}
  36. webhooksapi_e: http://{{ $webhooks_url }}
  37. webhooksweb_e: http://{{ $webhooksweb_url }}