<#7543 chore(flyte-binary): serve Connect APIs on ...
# flyte-github
a
#7543 chore(flyte-binary): serve Connect APIs on the http ingress, drop separate gRPC ingress Pull request opened by pingsutw Why are the changes needed? Clients talk to the flyte-binary backend with buf Connect over HTTP, not raw gRPC. The separate
-grpc
ingress (and the
separateGrpcIngress
toggle that gated it) therefore no longer serves a purpose — the Connect API paths can live directly on the existing http ingress. Keeping two ingresses just duplicates annotations and splits the routing config for no benefit. What changes were proposed in this pull request? Removed the separate gRPC ingress and fold all Connect API paths onto the http ingress. • Delete
templates/ingress/grpc.yaml
. •
templates/ingress/http.yaml
— render the Connect API paths unconditionally (dropped the
if not separateGrpcIngress
guard), routed to the
-http
service on
service.http.port
. •
templates/service/http.yaml
— drop the dormant
grpc
service port. It targeted a
grpc
container port that does not exist and only ever stayed hidden because
separateGrpcIngress
defaulted to `true`; the API paths route by port number (8090 = the http port) regardless. •
templates/_helpers.tpl
— rename
ingress.grpcPaths
→ `ingress.apiPaths`; remove the now-unused
service.grpc.{name,port}
helpers. •
values.yaml
— remove
ingress.{separateGrpcIngress, grpcAnnotations, grpcIngressClassName, grpcTls, grpcExtraPaths}
and
service.{ports.grpc, nodePorts.grpc, grpcAnnotations}
. •
README.md
— regenerate the affected parameter-table rows. Note This is a breaking change for anyone who set
ingress.separateGrpcIngress: true
or relied on the
grpc*
ingress/service values. Those keys are gone; the API paths now always render on the http ingress, so its annotations (auth, TLS, ingress class) apply to the APIs too. How was this patch tested? No Helm unit-test harness exists for this chart, so verified by rendering: •
helm template ... --set ingress.create=true
→ a single
-http
Ingress containing the
/v2
console paths and all
flyteidl2.*
Connect API paths, every backend pointing at the
-http
service on port
8090
. No
-grpc
Ingress is produced. • The http Service renders with only the
http
port. • Chart renders cleanly with defaults and with the
values-union.yaml
overlay. Labels • changed • removed Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. •
main
• chore(flyte-binary): serve Connect APIs on the http ingress, drop separate gRPC ingress 👈 • #7546 flyteorg/flyte