RasaHQ/helm-charts

Duckling endpoint not passed to pod when external is True and an external URL is provided

nyejon opened this issue · 2 comments

{{- if or .Values.duckling.install (and .Values.duckling.external.enabled (not .Values.duckling.external.url)) -}}

This results in the following:
if false or (true and (not true)) resulting in false. We need this to be true when external = true and external url = true.

{{- if or .Values.duckling.install (and .Values.duckling.external.enabled .Values.duckling.external.url) -}} would be better.

This means the duckling endpoint is not provided to the pod here:

{{- if eq (include "rasa.endpoints.duckling" .) "true" }}
{{ include "rasa.duckling.envs" . }}
{{- end }}

Thanks for the issue, @yennycheung will get back to you about it soon!

You may find help in the docs and the forum, too 🤗

One can get around this issue by manually adding to the envs of the rasa pod.:

- name: “RASA_DUCKLING_HTTP_URL”
  value: “http://{duckling_service}:8000”