Merge pull request '[woodpecker] add grpc ingress' (#186) from woodpecker-grpc-ingress into main
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful

Reviewed-on: #186
This commit is contained in:
Aaron Riedel 2024-10-16 21:02:43 +02:00
commit bb5e94f253
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