[woodpecker] add grpc ingress
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful

This commit is contained in:
Aaron Riedel 2024-10-16 21:01:40 +02:00
parent 0f25236481
commit d097a39ac0
Signed by: aaron
GPG key ID: 643004654D40D577
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