diff --git a/charts/philter/Chart.yaml b/charts/philter/Chart.yaml index d14a236..dabd96e 100644 --- a/charts/philter/Chart.yaml +++ b/charts/philter/Chart.yaml @@ -15,7 +15,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. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.5 +version: 0.1.6 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/philter/templates/http-route.yaml b/charts/philter/templates/http-route.yaml index c6a1798..df174c7 100644 --- a/charts/philter/templates/http-route.yaml +++ b/charts/philter/templates/http-route.yaml @@ -21,18 +21,24 @@ spec: rules: {{- range .Values.httpRoute.paths }} - backendRefs: - - name: {{ include "philter.apiFullname" $ }} + - group: '' + kind: Service + name: {{ include "philter.apiFullname" $ }} port: {{ .port | default $.Values.api.service.port }} + weight: 1 matches: - path: - type: {{ .type | default "PathPrefix" }} - value: {{ trimSuffix "/" .path }}/api + type: {{ .type | default "PathPrefix" }} + value: {{ trimSuffix "/" .path }}/api - backendRefs: - - name: {{ include "philter.uiFullname" $ }} + - group: '' + kind: Service + name: {{ include "philter.uiFullname" $ }} port: {{ .port | default $.Values.ui.service.port }} + weight: 1 matches: - path: - type: {{ .type | default "PathPrefix" }} - value: {{ trimSuffix "/" .path }}/ui + type: {{ .type | default "PathPrefix" }} + value: {{ trimSuffix "/" .path }}/ {{- end }} {{- end }}