{{- $name := include "basket-api.fullname" . -}} {{- $zipkin := include "url-of" (list .Values.app.ingress.entries.zipkin .) -}} apiVersion: v1 kind: ConfigMap metadata: name: "cfg-{{ $name }}" labels: app: {{ template "basket-api.name" . }} chart: {{ template "basket-api.chart" .}} release: {{ .Release.Name }} heritage: {{ .Release.Service }} data: basket__ConnectionString: {{ .Values.inf.redis.basket.constr }} urls__IdentityUrl: http://{{ .Values.app.svc.identity }} all__EventBusConnection: {{ .Values.inf.eventbus.constr }} all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}" all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}" urls__Otel__ExporterEndpoint: http://{{ .Values.app.svc.zipkin }}:9411/api/v2/spans