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.

26 lines
1.2 KiB

6 years ago
5 years ago
6 years ago
6 years ago
5 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. {{- $protocol := include "protocol" . -}}
  8. apiVersion: v1
  9. kind: ConfigMap
  10. metadata:
  11. name: "cfg-{{ $name }}"
  12. labels:
  13. app: {{ template "webspa.name" . }}
  14. chart: {{ template "webspa.chart" .}}
  15. release: {{ .Release.Name }}
  16. heritage: {{ .Release.Service }}
  17. data:
  18. all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}"
  19. all_EnableLoadTest: "{{ .Values.inf.misc.useLoadTest }}"
  20. webspa__keystore: {{ .Values.inf.redis.keystore.constr }}
  21. internalurls__apigwws: http://{{ .Values.app.svc.webshoppingapigw }}
  22. internalurls__identity__hc: http://{{ .Values.app.svc.identity }}/hc
  23. urls__apigwws: {{ $protocol }}://{{ $webshoppingapigw }}
  24. urls__spa: {{ $protocol }}://{{ $spa }}
  25. urls__IdentityUrl: {{ $protocol }}://{{ $identity }}
  26. urls__apigwwm: {{ $protocol }}://{{ $webmarketingapigw }}