fix(helm): Default to /mqtt on ingress as Rory-Z suggestion

This commit is contained in:
Altair-Bueno 2024-07-05 09:09:30 +02:00
parent 20be0df62d
commit f2f8c2ae92
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ spec:
- host: {{ $host }} - host: {{ $host }}
http: http:
paths: paths:
- path: {{ $.Values.ingress.ws.path | default "/" }} - path: {{ $.Values.ingress.ws.path | default "/mqtt" }}
{{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} {{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ $.Values.ingress.ws.pathType | default "ImplementationSpecific" }} pathType: {{ $.Values.ingress.ws.pathType | default "ImplementationSpecific" }}
{{- end }} {{- end }}

View File

@ -127,7 +127,7 @@ spec:
- host: {{ $host }} - host: {{ $host }}
http: http:
paths: paths:
- path: {{ $.Values.ingress.ws.path | default "/" }} - path: {{ $.Values.ingress.ws.path | default "/mqtt" }}
{{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} {{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ $.Values.ingress.ws.pathType | default "ImplementationSpecific" }} pathType: {{ $.Values.ingress.ws.pathType | default "ImplementationSpecific" }}
{{- end }} {{- end }}