diff --git a/infra/traefik-application.yaml b/infra/traefik-application.yaml index 7294b53..5b2e79f 100644 --- a/infra/traefik-application.yaml +++ b/infra/traefik-application.yaml @@ -30,6 +30,33 @@ spec: traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.priority: "42" traefik.ingress.kubernetes.io/router.tls: "true" + service.beta.kubernetes.io/upcloud-load-balancer-config: | + { + "frontends": [ + { + "name": "web", + "mode": "tcp" + }, + { + "name": "websecure", + "mode": "tcp" + } + ], + "backends": [ + { + "name": "web", + "properties": { + "outbound_proxy_protocol": "v2" + } + }, + { + "name": "websecure", + "properties": { + "outbound_proxy_protocol": "v2" + } + } + ] + } ingressClass: enabled: true