From 79043238e0e2e67a0a1e80937d180bd49ff5966b Mon Sep 17 00:00:00 2001 From: hlts2 Date: Tue, 24 Sep 2024 11:53:09 +0900 Subject: [PATCH] fix: route settings Signed-off-by: hlts2 --- charts/vald/templates/gateway/ing.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/charts/vald/templates/gateway/ing.yaml b/charts/vald/templates/gateway/ing.yaml index 00b6f94445..d0d4be6bc5 100644 --- a/charts/vald/templates/gateway/ing.yaml +++ b/charts/vald/templates/gateway/ing.yaml @@ -76,7 +76,7 @@ spec: {{- include "vald.ingressPort" (dict "Values" $filter.ingress) | nindent 12 }} pathType: {{ $filter.ingress.pathType }} # NOTE: Change backend service to mirror after UpdateTimestamp is implemented in mirror. - - path: "/vald.v1.Update/UpdateTimestamp/" + - path: "/vald.v1.Update/UpdateTimestamp" backend: service: name: {{ $lb.name }} @@ -100,13 +100,13 @@ spec: name: {{ $mirror.name }} {{- include "vald.ingressPort" (dict "Values" $mirror.ingress) | nindent 12 }} pathType: {{ $mirror.ingress.pathType }} - - path: "/vald.v1.Object/Exists/" + - path: "/vald.v1.Object/Exists" backend: service: name: {{ $lb.name }} {{- include "vald.ingressPort" (dict "Values" $lb.ingress) | nindent 12 }} pathType: {{ $lb.ingress.pathType }} - - path: "/vald.v1.Object/GetTimestamp/" + - path: "/vald.v1.Object/GetTimestamp" backend: service: name: {{ $lb.name }} @@ -180,13 +180,13 @@ spec: name: {{ $lb.name }} {{- include "vald.ingressPort" (dict "Values" $lb.ingress) | nindent 12 }} pathType: {{ $lb.ingress.pathType }} - - path: "/vald.v1.Object/Exists/" + - path: "/vald.v1.Object/Exists" backend: service: name: {{ $lb.name }} {{- include "vald.ingressPort" (dict "Values" $lb.ingress) | nindent 12 }} pathType: {{ $lb.ingress.pathType }} - - path: "/vald.v1.Object/GetTimestamp/" + - path: "/vald.v1.Object/GetTimestamp" backend: service: name: {{ $lb.name }} @@ -224,7 +224,7 @@ spec: {{- include "vald.ingressPort" (dict "Values" $mirror.ingress) | nindent 12 }} pathType: {{ $mirror.ingress.pathType }} # NOTE: Change backend service to mirror after UpdateTimestamp is implemented in mirror. - - path: "/vald.v1.Update/UpdateTimestamp/" + - path: "/vald.v1.Update/UpdateTimestamp" backend: service: name: {{ $lb.name }} @@ -281,7 +281,7 @@ spec: {{- include "vald.ingressPort" (dict "Values" $lb.ingress) | nindent 12 }} pathType: {{ $lb.ingress.pathType }} {{- end }} - - path: "/grpc.reflection.v1.ServerReflection/" + - path: "/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo" {{- if $filterIngEnabled }} backend: service: @@ -295,7 +295,7 @@ spec: {{- include "vald.ingressPort" (dict "Values" $lb.ingress) | nindent 12 }} pathType: {{ $lb.ingress.pathType }} {{- end }} - - path: "/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo/" + - path: "/grpc.reflection.v1.ServerReflection/" {{- if $filterIngEnabled }} backend: service: