[woodpecker] add grpc ingress #186
2 changed files with 28 additions and 0 deletions
|
@ -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
|
||||
|
|
25
woodpecker/grpc-ingress/ingress.yaml
Normal file
25
woodpecker/grpc-ingress/ingress.yaml
Normal 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
|
Loading…
Reference in a new issue