about summary refs log tree commit diff
path: root/chart/templates
diff options
context:
space:
mode:
authorMoritz Hedtke <Moritz.Hedtke@t-online.de>2022-11-08 17:20:09 +0100
committerGitHub <noreply@github.com>2022-11-08 17:20:09 +0100
commitf7613febb36f1cec9ce4e8762da0f3b182a0e8a4 (patch)
treea41d356167fb917472a21b4603b49b987dc7d63a /chart/templates
parentfd3c48210419441f95b08a951f715e5ecd55e5c1 (diff)
helm: Fix ingress pathType (#19729)
Diffstat (limited to 'chart/templates')
-rw-r--r--chart/templates/ingress.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml
index 7295297fb..811d98a22 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 }}