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.

21 lines
896 B

  1. {{- $name := include "locations-api.fullname" . -}}
  2. {{- $identity := include "url-of" (list .Values.app.ingress.entries.identity .) -}}
  3. {{- $mongo := include "mongo-name" . -}}
  4. apiVersion: v1
  5. kind: ConfigMap
  6. metadata:
  7. name: "cfg-{{ $name }}"
  8. labels:
  9. app: {{ template "locations-api.name" . }}
  10. chart: {{ template "locations-api.chart" .}}
  11. release: {{ .Release.Name }}
  12. heritage: {{ .Release.Service }}
  13. data:
  14. all__EventBusConnection: {{ .Values.inf.eventbus.constr }}
  15. all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
  16. all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}"
  17. all_EnableLoadTest: "{{ .Values.inf.misc.useLoadTest }}"
  18. internalurls__IdentityUrl: http://{{ .Values.app.svc.identity }}
  19. urls__IdentityUrl: {{ $identity }}
  20. locations__ConnectionString: mongodb://{{ $mongo }}
  21. locations__Database: {{ .Values.inf.mongo.locations.database }}