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.

19 lines
739 B

  1. {{- $name := include "webhooks-web.fullname" . -}}
  2. {{- $identity := include "url-of" (list .Values.app.ingress.entries.identity .) -}}
  3. {{- $webhooksweb := include "url-of" (list .Values.app.ingress.entries.webhooksweb .) -}}
  4. {{- $webhooks := include "url-of" (list .Values.app.ingress.entries.webhooks .) -}}
  5. apiVersion: v1
  6. kind: ConfigMap
  7. metadata:
  8. name: "cfg-{{ $name }}"
  9. labels:
  10. app: {{ template "webhooks-web.name" . }}
  11. chart: {{ template "webhooks-web.chart" .}}
  12. release: {{ .Release.Name }}
  13. heritage: {{ .Release.Service }}
  14. data:
  15. urls__webhooks: http://{{ $webhooks }}
  16. identity_e: http://{{ $identity }}
  17. webhooksweb_e: http://{{ $webhooksweb }}
  18. urls_webhooksweb: http://{{ .Values.app.svc.webhooksweb }}