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:
https://github.com/RasaHQ/helm-charts/blob/e7e72f4a3333cb42430c0f49d001cb7d03fdaf74/charts/rasa/templates/helpers/_duckling.tpl#L5
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:
https://github.com/RasaHQ/helm-charts/blob/e7e72f4a3333cb42430c0f49d001cb7d03fdaf74/charts/rasa/templates/_containers-env.yaml#L21-L23