[woodpecker] add grpc ingress #186

Merged
aaron merged 1 commit from woodpecker-grpc-ingress into main 2024-10-16 21:02:43 +02:00
2 changed files with 28 additions and 0 deletions

View file

@ -40,6 +40,9 @@ spec:
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
path: woodpecker/secrets
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
path: woodpecker/grpc-ingress
destination:
server: https://kubernetes.default.svc
namespace: woodpecker

View file

@ -0,0 +1,25 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/tls-acme: "true"
traefik.ingress.kubernetes.io/service.serversscheme: h2c
name: woodpecker-grpc
namespace: woodpecker
spec:
rules:
- host: "woodpecker-grpc.apps.yolokube.de"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: woodpecker-service
port:
name: grpc
tls:
- hosts:
- woodpecker-grpc.apps.yolokube.de
secretName: woodpecker-grpc-tls-key