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.

17 lines
772 B

  1. {{- $name := include "ordering-api.fullname" . -}}
  2. {{- $sqlsrv := include "sql-name" . -}}
  3. apiVersion: v1
  4. kind: ConfigMap
  5. metadata:
  6. name: "cfg-{{ $name }}"
  7. labels:
  8. app: {{ template "ordering-api.name" . }}
  9. chart: {{ template "ordering-api.chart" .}}
  10. release: {{ .Release.Name }}
  11. heritage: {{ .Release.Service }}
  12. data:
  13. ordering__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.ordering.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};
  14. urls__IdentityUrl: http://{{ .Values.app.svc.identity }}
  15. all__EventBusConnection: {{ .Values.inf.eventbus.constr }}
  16. all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}"
  17. all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}"