Skip to content

Conversation

lukas-reining
Copy link
Member

This PR

Adds Gateway API support as described in #723, similar to the ingress support in #633.

The operator only creates an HTTPRoute for all endpoints instead of explicitly creating a GRPCRoute for the GRPC
endpoints, because we are using GRPC Gateway to enable HTTP+JSON for the GRPC endpoints.
This means that these endpoint not only support GRPC, but also plain HTTP. Because of this, GRPCRoute does not work
well for these endpoints.

I decided to not make the paths/methods configurable, while they are for ingress, as they can not be adjusted in flagd anyways.

The Go version had to be updated as the gateway api package is not working with Go 1.21. Due to this I also had to update the chainsaw version.

Related Issues

Fixes #723

Signed-off-by: Lukas Reining <[email protected]>
Signed-off-by: Lukas Reining <[email protected]>
@lukas-reining lukas-reining merged commit b393a26 into main Jan 13, 2025
16 checks passed
@lukas-reining lukas-reining deleted the feat/add-gateway-api branch January 13, 2025 14:48
This was referenced Jan 13, 2025
@toddbaert
Copy link
Member

This is really cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add gateway API routes to flagd CRD
3 participants