Merge pull request #8587 from niallmccullagh/helm-routing

fix api-docs routing clash with /api
This commit is contained in:
Fredrik Adelöw
2021-12-22 16:57:33 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.1
version: 0.1.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
@@ -40,7 +40,7 @@ spec:
servicePort: 80
{{/* Route the backend inside the same hostname as the frontend when they are the same */}}
{{- if eq $frontendUrl.host $backendUrl.host}}
- path: /api
- path: /api/
backend:
serviceName: {{ include "backend.serviceName" . }}
servicePort: 80