--- apiVersion: v1 kind: Service metadata: name: woodpecker-grpc namespace: woodpecker annotations: traefik.ingress.kubernetes.io/service.serversscheme: h2c spec: selector: app.kubernetes.io/instance: woodpecker app.kubernetes.io/name: server ports: - name: grpc protocol: TCP port: 9000 targetPort: grpc --- apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: namespace: woodpecker name: woodpecker-grpc spec: entryPoints: - websecure routes: - kind: Rule match: Host(`woodpecker-grpc.apps.yolokube.de`) && Header(`Content-Type`, `application/grpc`) services: - name: woodpecker-grpc port: grpc scheme: h2c tls: secretName: woodpecker-grpc-tls-key