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
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful
Reviewed-on: #186
This commit is contained in:
commit
bb5e94f253
2 changed files with 28 additions and 0 deletions
|
@ -40,6 +40,9 @@ spec:
|
||||||
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
|
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: woodpecker/secrets
|
path: woodpecker/secrets
|
||||||
|
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: woodpecker/grpc-ingress
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: woodpecker
|
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