diff --git a/charts/sophora-webclient/Chart.yaml b/charts/sophora-webclient/Chart.yaml index 7a216cb8..8fd6cff1 100644 --- a/charts/sophora-webclient/Chart.yaml +++ b/charts/sophora-webclient/Chart.yaml @@ -6,11 +6,11 @@ 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: 1.5.0 +version: 1.5.1 annotations: artifacthub.io/changes: | - - kind: added - description: "Added HTTPRoute support for Gateway API." + - kind: fixed + description: "Fixed port of Ingress backend." # 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/sophora-webclient/templates/ingress.yaml b/charts/sophora-webclient/templates/ingress.yaml index d29a01a2..820163ba 100644 --- a/charts/sophora-webclient/templates/ingress.yaml +++ b/charts/sophora-webclient/templates/ingress.yaml @@ -1,5 +1,6 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "webclient.fullname" . -}} +{{- $svcPort := .Values.service.port -}} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: @@ -33,6 +34,6 @@ spec: service: name: {{ $fullName }} port: - number: {{ .Values.service.port }} + number: {{ $svcPort }} {{- end }} {{- end }} \ No newline at end of file