-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Disable Modsecurity from internal processing which affects large ingresses #10316
Conversation
✅ Deploy Preview for kubernetes-ingress-nginx ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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/test-infra repository. |
Welcome @markhley! |
Hi @markhley. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: markhley, rikatz 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 |
/hold cancel |
This PR fixes #10115 |
/cherry-pick release-1.8 |
/cherrypick release-1.8 |
@rikatz: new pull request created: #10375 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. |
@rikatz: new pull request could not be created: failed to create pull request against kubernetes/ingress-nginx#release-1.8 from head k8s-infra-cherrypick-robot:cherry-pick-10316-to-release-1.8: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"A pull request already exists for k8s-infra-cherrypick-robot:cherry-pick-10316-to-release-1.8."}],"documentation_url":"https://docs.github.com/rest/pulls/pulls#create-a-pull-request"} 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. |
What this PR does / why we need it:
We ran into situation where our large number on ingresses would not work when Modsecurity was enabled. It was determined that Modsecurity was turned on by default for internal processing and this was impacting ingress operations. We tested disabling Modsecurity for internal processing and issue was resolved
Types of changes
Which issue/s this PR fixes
How Has This Been Tested?
We tested in our production environment with large number of ingresses overriding file /etc/nginx/template/nginx.tmpl with necessary change to disable Modsecurity from internal processing. It worked in full production environment
We tested all ingress URLs after change and Modsecurity was blocking WAF violations, but not hindering internal processing
Checklist: