Is your feature request related to a problem? Please describe.
Context
In our current implementation to support function parameters for Function Upstreams in K8S Gateway API, we use an ExtensionRef to a virtual Parameter resource to pass in, for example, the logical name of the Lambda function to call. See this GitHub issue comment, which contains the following example:
Gloo Edge Product
Enterprise
Gloo Edge Version
1.17.0
Is your feature request related to a problem? Please describe.
Context
In our current implementation to support function parameters for Function Upstreams in K8S Gateway API, we use an ExtensionRef to a virtual
Parameter
resource to pass in, for example, the logical name of the Lambda function to call. See this GitHub issue comment, which contains the following example:Since this is an unnamed parament, we only support on Function Upstream parameter to be specified. There are however
destinationSpec
in the Gloo Edge API that support multiple parameters: https://docs.solo.io/gloo-edge/latest/reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/options.proto.sk/#destinationspecThe
aws
destinationSpec
for example supports fiels likewrapAsApiGateway
,unwrapAsApiGateway
,invocationStyle
, etc.: https://docs.solo.io/gloo-edge/latest/reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/options/aws/aws.proto.sk/With the current K8S Gateway API implementation, we can't/don't support these additional parameters.
Describe the solution you'd like
Requirement
Provide support for multiple
destinationSpec
parameters in the K8S Gateway API for Function Upstreams. We must support these parameters for the following Function Upstream (https://docs.solo.io/gloo-edge/latest/reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/options.proto.sk/#destinationspec):Since the
grpc destinationSpec
is deprecated (see: https://docs.solo.io/gloo-edge/latest/reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/options/grpc/grpc.proto.sk/#destinationspec), we should not add support for it in our K8S Gateway API implementation.Describe alternatives you've considered
n.a.
Additional Context
n.a.
┆Issue is synchronized with this Asana task by Unito