Open kayx23 opened 3 months ago
I see this plugin terminates the original request. So doesn't matter what the upstream is. Creating ApisixRoute creates an upstream automatically so it still requires backend field to be configured. As a workaroud, you can configure an externalservice as the same URL and use that as backend. Though that upstream won't be used. But currently ingress controller doesn't support creating ApisixRoute with upstream.
As a workaroud, you can configure an externalservice as the same URL and use that as backend.
Adopting this workaround for now and keeping this issue to track future actions (if any).
This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.
Issue description
An upstream is not required when using
aws-lambda
plugin. See:With ingress controller, if you attempt to apply the following config:
You get the a schema check error:
What I have also attempted is to set an
upstreams
:With this you do get around the schema check but you would see an
empty ExternalNodes or Discovery configuration
error in the ingress controller log:So what should be the right way to configure
aws-lambda
on a route that does not require an upstream? Or is this scenario something ingress controller schema should accommodate for?Note:
aws-lambda
plugin does not have test coverage in this repo as of now.Environment