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.

23 lines
1.0 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. {{- $spa := include "url-of" (list .Values.app.ingress.entries.spa .) -}}
  5. {{- $mongo := include "mongo-name" . -}}
  6. {{- $protocol := include "protocol" . -}}
  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. webspa__keystore: {{ .Values.inf.redis.keystore.constr }}
  19. internalurls__apigwws: http://{{ .Values.app.svc.webshoppingapigw }}
  20. internalurls__identity__hc: http://{{ .Values.app.svc.identity }}/hc
  21. urls__apigwws: {{ $protocol }}://{{ $webshoppingapigw }}
  22. urls__spa: {{ $protocol }}://{{ $spa }}
  23. urls__IdentityUrl: {{ $protocol }}://{{ $identity }}