Skip to content

Commit 99dc657

Browse files
committed
CH-225 fix ingress conversions
1 parent 6cc6b4d commit 99dc657

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deployment-configuration/helm/templates/ingress.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
number: {{ $app.harness.service.port | default 80 }}
1919
{{- else if hasSuffix "/*" $uri }}
2020
{{- $cleanPath := trimSuffix "/*" $uri }}
21-
- path: {{ printf "%s/(.*)" $cleanPath }}
21+
{{- $pathWithoutSlash := trimPrefix "/" $cleanPath }}
22+
- path: {{ printf "/(%s/.*)" $pathWithoutSlash }}
2223
pathType: ImplementationSpecific
2324
backend:
2425
service:

0 commit comments

Comments
 (0)