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.

32 lines
1.5 KiB

6 years ago
  1. {{- $name := include "webmvc.fullname" . -}}
  2. {{- $identity := include "url-of" (list .Values.app.ingress.entries.identity .) -}}
  3. {{- $webshoppingapigw := include "url-of" (list .Values.app.ingress.entries.webshoppingapigw .) -}}
  4. {{- $mvc := include "url-of" (list .Values.app.ingress.entries.mvc .) -}}
  5. {{- $mongo := include "mongo-name" . -}}
  6. apiVersion: v1
  7. kind: ConfigMap
  8. metadata:
  9. name: "cfg-{{ $name }}"
  10. labels:
  11. app: {{ template "webmvc.name" . }}
  12. chart: {{ template "webmvc.chart" .}}
  13. release: {{ .Release.Name }}
  14. heritage: {{ .Release.Service }}
  15. data:
  16. all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
  17. all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}"
  18. all_EnableLoadTest: "{{ .Values.inf.misc.useLoadTest }}"
  19. webmvc__keystore: {{ .Values.inf.redis.keystore.constr }}
  20. internalurls__apigwws: http://{{ .Values.app.svc.webshoppingapigw }}
  21. internalurls__apigwwm: http://{{ .Values.app.svc.webmarketingapigw }}
  22. internalurls__basket__hc: http://{{ .Values.app.svc.basket }}/hc
  23. internalurls__catalog__hc: http://{{ .Values.app.svc.catalog }}/hc
  24. internalurls__identity__hc: http://{{ .Values.app.svc.identity }}/hc
  25. internalurls__ordering__hc: http://{{ .Values.app.svc.ordering }}/hc
  26. internalurls__marketing__hc: http://{{ .Values.app.svc.marketing }}/hc
  27. internalurls__payment__hc: http://{{ .Values.app.svc.payment }}/hc
  28. urls__apigwws: http://{{ $webshoppingapigw }}
  29. urls__mvc: http://{{ $mvc }}
  30. urls__IdentityUrl: http://{{ $identity }}