Skip to content

Commit

Permalink
Merge pull request #96 from fmidev/path-to-route
Browse files Browse the repository at this point in the history
Path to route
  • Loading branch information
fjugipe authored Oct 8, 2024
2 parents de1e1ed + a688cb7 commit a1ac085
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/fmi-routes/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: fmi-routes
description: Helm chart for defining multiple routes
type: application
version: 0.0.9
version: 0.1.0
keywords:
- fmi
- route
Expand Down
3 changes: 3 additions & 0 deletions charts/fmi-routes/templates/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ metadata:
{{- end }}
spec:
host: {{ $route.host }}
{{- if $route.path }}
path: {{ $route.path }}
{{- end }}
port:
targetPort: {{ $route.targetPort }}
to:
Expand Down

0 comments on commit a1ac085

Please sign in to comment.