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.

18 lines
736 B

  1. {{- $name := include "basket-api.fullname" . -}}
  2. {{- $identity := include "url-of" (list .Values.app.ingress.entries.identity .) -}}
  3. apiVersion: v1
  4. kind: ConfigMap
  5. metadata:
  6. name: "cfg-{{ $name }}"
  7. labels:
  8. app: {{ template "basket-api.name" . }}
  9. chart: {{ template "basket-api.chart" .}}
  10. release: {{ .Release.Name }}
  11. heritage: {{ .Release.Service }}
  12. data:
  13. basket__ConnectionString: {{ .Values.inf.redis.basket.constr }}
  14. urls__IdentityUrl: http://{{ $identity }}
  15. basket__EnableLoadTest: "{{ .Values.inf.misc.useLoadTest }}"
  16. all__EventBusConnection: {{ .Values.inf.eventbus.constr }}
  17. all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
  18. all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}"