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.

28 lines
1.3 KiB

6 years ago
6 years ago
6 years ago
6 years ago
  1. {{- $name := include "webspa.fullname" . -}}
  2. {{- $identity := include "url-of" (list .Values.app.ingress.entries.identity .) -}}
  3. {{- $webshoppingapigw := include "url-of" (list .Values.app.ingress.entries.webshoppingapigw .) -}}
  4. {{- $webmarketingapigw := include "url-of" (list .Values.app.ingress.entries.webmarketingapigw .) -}}
  5. {{- $spa := include "url-of" (list .Values.app.ingress.entries.spa .) -}}
  6. {{- $mongo := include "mongo-name" . -}}
  7. apiVersion: v1
  8. kind: ConfigMap
  9. metadata:
  10. name: "cfg-{{ $name }}"
  11. labels:
  12. app: {{ template "webspa.name" . }}
  13. chart: {{ template "webspa.chart" .}}
  14. release: {{ .Release.Name }}
  15. heritage: {{ .Release.Service }}
  16. data:
  17. all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}"
  18. all_EnableLoadTest: "{{ .Values.inf.misc.useLoadTest }}"
  19. webspa__keystore: {{ .Values.inf.redis.keystore.constr }}
  20. internalurls__apigwws: http://{{ .Values.app.svc.webshoppingapigw }}
  21. internalurls__apigwws__hc: http://{{ .Values.app.svc.webshoppingapigw }}/hc
  22. internalurls__identity__hc: http://{{ .Values.app.svc.identity }}/hc
  23. internalurls__apigwwm__hc: http://{{ .Values.app.svc.webmarketingapigw }}/hc
  24. urls__apigwws: http://{{ $webshoppingapigw }}
  25. urls__spa: http://{{ $spa }}
  26. urls__IdentityUrl: http://{{ $identity }}
  27. urls__apigwwm: http://{{ $webmarketingapigw }}