I have been trying to configure an SSL certificate on my Rasa X server, and I followed the complete guide to deploying your rasa assistant 15. Unfortunately, at the last step, when I run Helm upgrade (as follows),
helm upgrade \
–values values.yaml \
–namespace rasa \
I got this error:
Error: UPGRADE FAILED: cannot patch “rasa-x-####-nginx” with kind Service: Service “rasa-x-####-nginx” is invalid: spec.ports.name: Duplicate value: "http"
I’m deploying Rasa X in Azure Kubernetes Services. If there is any advice or another path on how to configure an SSL certificate, I will be happy to read it.
to debug the problem further - can you post please the ingress section of the values.yaml. Best would be current values.yaml and the old values.yaml.
Hello! thank you for your reply.
This is the first value.yml I used to deploy Rasa X, here I didn’t put any ingress settings, just Rasa X, RabbitMQ, and global settings:
values_original.yml (1.2 KB)
Once it is deployed, it creates rasa-x-####-nginx service. The following section has ports and ingress configuration (I modified the ports to point to port 80 instead of 8000):
- name: http
- ip: xx.xxx.xxx.xxx
Here is the full yaml file: values_current.yaml (2.5 KB)
Finally, this is the new values.yml
- host: rasax.xxxxxx.canadacentral.aksapp.io
- secretName: rasatls
Thank you for your help!
sorry for the late response. Got sidetracked by live
i dont see much on the values all seems in order - but i see trafik running so best is to check their documentation on Lets Encrypt with trafik.
have tested cert-manager with nginx-ingress with the same configuration, works like a charm.