-
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
NGINX: Remove inline Lua from template. #11806
Conversation
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The 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-sigs/prow repository. |
✅ Deploy Preview for kubernetes-ingress-nginx canceled.
|
938bcd1
to
fbf87e4
Compare
Do you want to merge this to |
@Gacko to main :) |
Then please wait until after the release. 😅 |
97fd4bb
to
dd0412a
Compare
I'm not on a rush :P |
dd0412a
to
4032717
Compare
/lgtm |
/unhold |
@rikatz I rebased your branch. Unhold whenever ready. :) |
/hold I will still finish the other migrations! :D Will let you know once it is ready |
4032717
to
0201a89
Compare
459c320
to
c63788b
Compare
43bc72f
to
e41b743
Compare
e41b743
to
e327abd
Compare
912f17b
to
3b12461
Compare
8ca819d
to
d049b2e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Gacko, rikatz, tao12345666333 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
if: | | ||
(needs.changes.outputs.lua == 'true') || ${{ github.event.workflow_dispatch.run_e2e == 'true' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if: | | |
(needs.changes.outputs.lua == 'true') || ${{ github.event.workflow_dispatch.run_e2e == 'true' }} | |
if: fromJSON(needs.changes.outputs.lua) || fromJSON(github.event.workflow_dispatch.run_e2e) |
Have you tried this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
never tried. but then wouldn't it be better to change all of the ifs for this approach on a follow up PR?
@@ -0,0 +1,2 @@ | |||
local balancer = require("balancer") | |||
balancer.balance() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
balancer.balance() | |
balancer.balance() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have the newline at EOF added in snippets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry I am not following. What would be the goal of adding a new line here?
New changes are detected. LGTM label has been removed. |
@rikatz: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
3122a5c
to
aa5c3ec
Compare
/hold cancel |
What this PR does / why we need it:
We need to simplify our lifes and the nginx.conf file. This PR is the beginning of the work to remove any lua inline script from nginx template, calling the lua script directly.
The end goal is to remove any by_lua_block directive, even if this means we add more lua scripts temporarily
Types of changes
Which issue/s this PR fixes
How Has This Been Tested?
Checklist: