Skip to content

Commit

Permalink
use different api version
Browse files Browse the repository at this point in the history
  • Loading branch information
mathnogueira committed Oct 22, 2024
1 parent 88c4092 commit 983c127
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
apiVersion: traefik.containo.us/v1alpha1
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: {{ .Release.Name }}-cors-allowed
namespace: default
name: {{ include "tracetest-cloud.fullname" . }}-cors
spec:
headers:
accessControlAllowHeaders:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
- kind: Rule
match: Host(`{{ .Values.global.urls.otlpingest.hostname }}`) && PathPrefix(`/opentelemetry.proto.collector.trace.v1.TraceService/Export`)
middlewares:
- name: {{ .Release.Name }}-cors-allowed
- name: {{ include "tracetest-cloud.fullname" . }}-cors
services:
- kind: Service
name: {{ .Release.Name }}-public-endpoint-otel-collector
Expand Down

0 comments on commit 983c127

Please sign in to comment.