From d097a39ac0587a983744b9654a6f44c1da665361 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Wed, 16 Oct 2024 21:01:40 +0200 Subject: [PATCH] [woodpecker] add grpc ingress --- app-files/apps.yaml | 3 +++ woodpecker/grpc-ingress/ingress.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 woodpecker/grpc-ingress/ingress.yaml diff --git a/app-files/apps.yaml b/app-files/apps.yaml index c7f8047..aa3ab42 100644 --- a/app-files/apps.yaml +++ b/app-files/apps.yaml @@ -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 diff --git a/woodpecker/grpc-ingress/ingress.yaml b/woodpecker/grpc-ingress/ingress.yaml new file mode 100644 index 0000000..1a9dcff --- /dev/null +++ b/woodpecker/grpc-ingress/ingress.yaml @@ -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