As it is implemented now, the coalesce is all but useless. This can be worked around in the user side, if an empty .Values.rabbitmq.service is defined, but that almost defeats the purpose of a coalesce/default.
On the side of the Chart, the following line would fix the problem:
I get the following error when enabling
rabbitmq
without having a.Values.rabbitmq.service
section invalues.yaml
:This is a known helm issue.
The offending lines in this case:
https://github.com/RasaHQ/helm-charts/blob/c792f05385615d7e07a9f83ae3735f4ba0984f61/charts/rasa-common/templates/_rabbitmq.tpl#L26-L31
As it is implemented now, the coalesce is all but useless. This can be worked around in the user side, if an empty
.Values.rabbitmq.service
is defined, but that almost defeats the purpose of a coalesce/default.On the side of the Chart, the following line would fix the problem: