diff --git a/crates/cuddle-clusters/src/catalog/ingress.rs b/crates/cuddle-clusters/src/catalog/ingress.rs index e7465bd..228b980 100644 --- a/crates/cuddle-clusters/src/catalog/ingress.rs +++ b/crates/cuddle-clusters/src/catalog/ingress.rs @@ -46,7 +46,7 @@ metadata: traefik.ingress.kubernetes.io/router.entrypoints: web traefik.ingress.kubernetes.io/router.tls: "true" <%- if connection_type == "grpc" %> - traefik.http.services.{{ service_name }}-<>.loadbalancer.server.scheme=h2c + traefik.http.services.{{ service_name }}-<>.loadbalancer.server.scheme: h2c <%- endif %> labels: app: {{ service_name }} diff --git a/crates/cuddle-clusters/tests/with_ingress/expected/dev/ingress.yaml b/crates/cuddle-clusters/tests/with_ingress/expected/dev/ingress.yaml index 6bde6b7..cf5d106 100644 --- a/crates/cuddle-clusters/tests/with_ingress/expected/dev/ingress.yaml +++ b/crates/cuddle-clusters/tests/with_ingress/expected/dev/ingress.yaml @@ -68,7 +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 + traefik.http.services.service-external-grpc.loadbalancer.server.scheme: h2c labels: app: service cluster: dev @@ -99,7 +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 + traefik.http.services.service-internal-grpc.loadbalancer.server.scheme: h2c labels: app: service cluster: dev diff --git a/crates/cuddle-clusters/tests/with_ingress/expected/prod/ingress.yaml b/crates/cuddle-clusters/tests/with_ingress/expected/prod/ingress.yaml index 5addf3a..f6320b6 100644 --- a/crates/cuddle-clusters/tests/with_ingress/expected/prod/ingress.yaml +++ b/crates/cuddle-clusters/tests/with_ingress/expected/prod/ingress.yaml @@ -68,7 +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 + traefik.http.services.service-external-grpc.loadbalancer.server.scheme: h2c labels: app: service cluster: prod @@ -99,7 +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 + traefik.http.services.service-internal-grpc.loadbalancer.server.scheme: h2c labels: app: service cluster: prod