Skip to content

Commit

Permalink
add cors to http instead of grpc
Browse files Browse the repository at this point in the history
  • Loading branch information
mathnogueira committed Oct 22, 2024
1 parent cf19ec2 commit bc6a5e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/tracetest-public-endpoint/templates/ingressroute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ spec:
routes:
- kind: Rule
match: Host(`{{ .Values.global.urls.otlpingest.hostname }}`) && PathPrefix(`/opentelemetry.proto.collector.trace.v1.TraceService/Export`)
middlewares:
- name: {{ include "tracetest-cloud.fullname" . }}-cors
services:
- kind: Service
name: {{ .Release.Name }}-public-endpoint-otel-collector
Expand All @@ -18,6 +16,8 @@ spec:
scheme: h2c
- kind: Rule
match: Host(`{{ .Values.global.urls.otlpingest.hostname }}`) && PathPrefix(`/v1/traces`)
middlewares:
- name: {{ include "tracetest-cloud.fullname" . }}-cors
services:
- kind: Service
name: {{ .Release.Name }}-public-endpoint-otel-collector
Expand Down

0 comments on commit bc6a5e8

Please sign in to comment.