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.

35 lines
1.8 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. apiVersion: v1
  13. kind: ConfigMap
  14. metadata:
  15. name: "cfg-{{ $name }}"
  16. labels:
  17. app: {{ template "identity-api.name" . }}
  18. chart: {{ template "identity-api.chart" .}}
  19. release: {{ .Release.Name }}
  20. heritage: {{ .Release.Service }}
  21. data:
  22. identity__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.identity.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};
  23. identity__keystore: {{ .Values.inf.redis.keystore.constr }}
  24. all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
  25. mvc_e: http://{{ $mvc_url }}
  26. spa_e: http://{{ $spa_url }}
  27. locations_e: http://{{ $locations_url }}
  28. marketing_e: http://{{ $marketing_url }}
  29. basket_e: http://{{ $basket_url }}
  30. ordering_e: http://{{ $ordering_url }}
  31. mobileshoppingagg_e: http://{{ $mobileshoppingagg }}
  32. webshoppingagg_e: http://{{ $webhoppingagg }}
  33. xamarin_callback_e: http://{{ $xamarincallback }}