feat: trying with h2c service
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-05-29 22:01:36 +02:00
parent 36aea1c05c
commit bb6331c5e5
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394
3 changed files with 7 additions and 0 deletions

View File

@ -45,6 +45,9 @@ metadata:
cert-manager.io/issuer: << issuer >>
traefik.ingress.kubernetes.io/router.entrypoints: web
traefik.ingress.kubernetes.io/router.tls: "true"
<%- if connection_type == "grpc" %>
traefik.http.services.{{ service_name }}-<<name>>.loadbalancer.server.scheme=h2c
<%- endif %>
labels:
app: {{ service_name }}
cluster: {{ vars.cluster_vars.name }}

View File

@ -68,6 +68,7 @@ metadata:
cert-manager.io/issuer: kjuulh-app
traefik.ingress.kubernetes.io/router.entrypoints: web
traefik.ingress.kubernetes.io/router.tls: "true"
traefik.http.services.service-external-grpc.loadbalancer.server.scheme=h2c
labels:
app: service
cluster: dev
@ -98,6 +99,7 @@ metadata:
cert-manager.io/issuer: kjuulh-app
traefik.ingress.kubernetes.io/router.entrypoints: web
traefik.ingress.kubernetes.io/router.tls: "true"
traefik.http.services.service-internal-grpc.loadbalancer.server.scheme=h2c
labels:
app: service
cluster: dev

View File

@ -68,6 +68,7 @@ metadata:
cert-manager.io/issuer: kjuulh-app
traefik.ingress.kubernetes.io/router.entrypoints: web
traefik.ingress.kubernetes.io/router.tls: "true"
traefik.http.services.service-external-grpc.loadbalancer.server.scheme=h2c
labels:
app: service
cluster: prod
@ -98,6 +99,7 @@ metadata:
cert-manager.io/issuer: kjuulh-app
traefik.ingress.kubernetes.io/router.entrypoints: web
traefik.ingress.kubernetes.io/router.tls: "true"
traefik.http.services.service-internal-grpc.loadbalancer.server.scheme=h2c
labels:
app: service
cluster: prod