From 9beeba0d96ecb9155e6c54217c124bf5ccf73c01 Mon Sep 17 00:00:00 2001 From: Matheus Nogueira Date: Tue, 22 Oct 2024 18:19:44 -0300 Subject: [PATCH] fix middleware map --- charts/tracetest-public-endpoint/templates/ingressroute.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/tracetest-public-endpoint/templates/ingressroute.yaml b/charts/tracetest-public-endpoint/templates/ingressroute.yaml index c88090b..39eda87 100644 --- a/charts/tracetest-public-endpoint/templates/ingressroute.yaml +++ b/charts/tracetest-public-endpoint/templates/ingressroute.yaml @@ -9,7 +9,7 @@ spec: - kind: Rule match: Host(`{{ .Values.global.urls.otlpingest.hostname }}`) && PathPrefix(`/opentelemetry.proto.collector.trace.v1.TraceService/Export`) middlewares: - - {{ .Release.Name }}-cors-allowed + - name: {{ .Release.Name }}-cors-allowed services: - kind: Service name: {{ .Release.Name }}-public-endpoint-otel-collector