diff --git a/charts/fmi-routes/templates/route.yaml b/charts/fmi-routes/templates/route.yaml index e41f7d8..c62f26c 100644 --- a/charts/fmi-routes/templates/route.yaml +++ b/charts/fmi-routes/templates/route.yaml @@ -15,7 +15,9 @@ metadata: {{- end }} spec: host: {{ $route.host }} + {{- if $route.path }} path: {{ $route.path }} + {{ - end }} port: targetPort: {{ $route.targetPort }} to: