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.

29 lines
1.5 KiB

  1. {{- $name := include "mobileshoppingagg.fullname" . -}}
  2. {{- $identity := include "url-of" (list .Values.app.ingress.entries.identity .) -}}
  3. {{- $protocol := include "protocol" . -}}
  4. apiVersion: v1
  5. kind: ConfigMap
  6. metadata:
  7. name: "cfg-{{ $name }}"
  8. labels:
  9. app: {{ template "mobileshoppingagg.name" . }}
  10. chart: {{ template "mobileshoppingagg.chart" .}}
  11. release: {{ .Release.Name }}
  12. heritage: {{ .Release.Service }}
  13. data:
  14. all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}"
  15. mobileshoppingagg__keystore: {{ .Values.inf.redis.keystore.constr }}
  16. internalurls__basket: http://{{ .Values.app.svc.basket }}
  17. internalurls__catalog: http://{{ .Values.app.svc.catalog }}
  18. internalurls__identity: http://{{ .Values.app.svc.identity }}
  19. internalurls__ordering: http://{{ .Values.app.svc.ordering }}
  20. internalurls__basket__hc: http://{{ .Values.app.svc.basket }}/hc
  21. internalurls__catalog__hc: http://{{ .Values.app.svc.catalog }}/hc
  22. internalurls__identity__hc: http://{{ .Values.app.svc.identity }}/hc
  23. internalurls__ordering__hc: http://{{ .Values.app.svc.ordering }}/hc
  24. internalurls__payment__hc: http://{{ .Values.app.svc.payment }}/hc
  25. internalurls__grpcBasket: "http://{{ .Values.app.svc.basket }}:{{ .Values.service.grpcPort }}"
  26. internalurls__grpcCatalog: "http://{{ .Values.app.svc.catalog }}:{{ .Values.service.grpcPort }}"
  27. internalurls__grpcOrdering: "http://{{ .Values.app.svc.ordering }}:{{ .Values.service.grpcPort }}"
  28. urls__IdentityUrlExternal: {{ $protocol }}://{{ $identity }}