Skip to content

Commit

Permalink
made sure that grpc content is routed using the h2c scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Sep 11, 2023
1 parent 2635c0e commit fa6863d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deployment/charts/backend/templates/networking/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ spec:
services:
- name: backend-v2-svc
port: 50051
- kind: Rule
match: (Host(`{{ join "`) || Host(`" $.Values.urls.v2 }}`)) && Headers(`Content-Type`, `application/grpc`)
services:
- name: backend-v2-svc
port: 50051
scheme: h2c
tls:
secretName: app.tum.de
---
Expand Down

0 comments on commit fa6863d

Please sign in to comment.