diff --git a/helm/web-service/Chart.yaml b/helm/web-service/Chart.yaml index 6554770..37a9ed1 100644 --- a/helm/web-service/Chart.yaml +++ b/helm/web-service/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: 2.0.15 +version: 2.0.16 # 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/helm/web-service/templates/httpRoute.yaml b/helm/web-service/templates/httpRoute.yaml index 387a658..b100d1a 100644 --- a/helm/web-service/templates/httpRoute.yaml +++ b/helm/web-service/templates/httpRoute.yaml @@ -26,8 +26,8 @@ spec: {{- range .Values.httpRoute.rules }} - backendRefs: {{- range .backendRefs }} - - group: "{{ .group | default "" }}" - kind: "{{ .kind | default "Service" }}" + - group: {{ .group }} + kind: {{ .kind }} name: {{ $name }} port: {{ $svcPort }} weight: {{ .weight | default 1 }} diff --git a/helm/web-service/values.yaml b/helm/web-service/values.yaml index 8c681a4..9d71322 100644 --- a/helm/web-service/values.yaml +++ b/helm/web-service/values.yaml @@ -124,4 +124,4 @@ httpRoute: matches: - path: type: PathPrefix - value: / \ No newline at end of file + value: / diff --git a/test-deploy.yaml b/test-deploy.yaml index 38bdd83..f157009 100644 --- a/test-deploy.yaml +++ b/test-deploy.yaml @@ -44,9 +44,5 @@ spec: - path: type: PathPrefix value: / - # backendRefs: - # - group: "" - # kind: "Service" - # weight: 1 - # name: "test-web-web-service" - # port: 80 \ No newline at end of file + backendRefs: + - weight: 1