18 lines
		
	
	
		
			772 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			772 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| {{- $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:
 | |
|   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 }}
 | |
|   all__EventBusConnection: {{ .Values.inf.eventbus.constr }}
 | |
|   all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}"
 | |
|   all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}" |