-
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
Update nginx dependencies #2588
Conversation
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.
Install of lua-cjson should be done in install_lua_resty_waf.sh
@toolboc we need that module installed in the base image independently of the lua waf module |
Codecov Report
@@ Coverage Diff @@
## master #2588 +/- ##
=======================================
Coverage 40.54% 40.54%
=======================================
Files 75 75
Lines 5105 5105
=======================================
Hits 2070 2070
Misses 2754 2754
Partials 281 281 Continue to review full report at Codecov.
|
images/nginx/build.sh
Outdated
luarocks install lrexlib-pcre 2.7.2-1 | ||
fi | ||
|
||
luarocks install lua-cjson |
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.
We already have cjson
being installed at https://github.com/kubernetes/ingress-nginx/pull/2588/files#diff-bd50bd51e758b65562491458b5a6f46dR88.
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.
It's ok if I remove that and we use luarocks? For some reason that package is not being installed in arm
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.
oh interesting, yeah we can use luarocks instead, but could you fix version?
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.
done
images/nginx/build.sh
Outdated
fi | ||
|
||
luarocks install lua-cjson | ||
luarocks install luasocket |
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.
this should not be necessary for that PR, we already have ngx.socket
we can use
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.
removed
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, ElvinEfendi 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 |
What this PR does / why we need it:
Add required module for #2586
Which issue this PR fixes: fixes #2547