20 lines
938 B
YAML
Raw Normal View History

2018-06-14 11:59:05 +02:00
{{- $name := include "ordering-api.fullname" . -}}
{{- $sqlsrv := include "sql-name" . -}}
2021-05-05 14:48:19 +05:30
{{- $zipkin := include "url-of" (list .Values.app.ingress.entries.zipkin .) -}}
2018-06-14 11:59:05 +02:00
apiVersion: v1
kind: ConfigMap
metadata:
name: "cfg-{{ $name }}"
labels:
app: {{ template "ordering-api.name" . }}
chart: {{ template "ordering-api.chart" .}}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
2018-07-03 19:07:37 +02:00
ordering__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.ordering.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};
urls__IdentityUrl: http://{{ .Values.app.svc.identity }}
2018-06-14 11:59:05 +02:00
all__EventBusConnection: {{ .Values.inf.eventbus.constr }}
all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}"
2021-05-05 14:48:19 +05:30
all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}"
urls__Otel__ExporterEndpoint: http://{{ .Values.app.svc.zipkin }}:9411/api/v2/spans