19 lines
837 B
YAML
Raw Normal View History

2018-06-14 11:59:05 +02:00
{{- $name := include "ordering-api.fullname" . -}}
{{- $sqlsrv := include "sql-name" . -}}
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 }};
2018-06-14 11:59:05 +02:00
ordering__EnableLoadTest: "{{ .Values.inf.misc.useLoadTest }}"
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 }}"
2018-06-14 11:59:05 +02:00
all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}"