-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin access method don't work #4309
Comments
@stamm you can find in the description of that PR why I had to do it. I still haven't figured out a good way of supporting access phase. I'll probably just go ahead and remove Even though certain access related things are better fit for access phase conceptually, technically speaking you can just run them in rewrite phase. Let me know if you have a better idea for supporting access phase for plugins. |
Maybe we can determinate on start if any plugins have access method, and in this case add plugins.run() to access_by_lua_block? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@stamm I don't have a strong reason to add complexity for supporting |
We change ingress and service name in plugin, if we have a special header or cookie. I rename plugin's method from access method to rewrite.
|
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
If you use plugin, for example this one: https://github.com/kubernetes/ingress-nginx/blob/master/rootfs/etc/nginx/lua/plugins/hello_world/main.lua
Method access would not be called.
This bug introduced in #4007
The text was updated successfully, but these errors were encountered: