From f7613febb36f1cec9ce4e8762da0f3b182a0e8a4 Mon Sep 17 00:00:00 2001 From: Moritz Hedtke Date: Tue, 8 Nov 2022 17:20:09 +0100 Subject: [PATCH] helm: Fix ingress pathType (#19729) --- chart/templates/ingress.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index 7295297fb1..811d98a225 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -47,9 +47,9 @@ spec: servicePort: {{ $webPort }} {{- end }} {{- if or ($.Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress") (not ($.Capabilities.APIVersions.Has "networking.k8s.io/v1beta1/Ingress")) }} - pathType: ImplementationSpecific + pathType: Prefix {{- end }} - - path: {{ .path }}api/v1/streaming + - path: {{ .path }}api/v1/streaming/ backend: {{- if or ($.Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress") (not ($.Capabilities.APIVersions.Has "networking.k8s.io/v1beta1/Ingress")) }} service: @@ -61,7 +61,7 @@ spec: servicePort: {{ $streamingPort }} {{- end }} {{- if or ($.Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress") (not ($.Capabilities.APIVersions.Has "networking.k8s.io/v1beta1/Ingress")) }} - pathType: ImplementationSpecific + pathType: Exact {{- end }} {{- end }} {{- end }}