Skip to content
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

fix(publick8s) ensure regexp engine is enabled for updates.jenkins.io ingress paths #4598

Conversation

dduportal
Copy link
Contributor

@dduportal dduportal commented Oct 27, 2023

Related to jenkins-infra/helpdesk#2649

This PR fixes the failing ingress matching for (azure.)updates.jenkins.io by ensuring the regexp engine is enabled for Nginx (same as get.jenkins.io in fact: annotation was lost when I bootstraped the mirrorbits-parent chart).

… ingress paths

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
hosts:
- host: azure.updates.jenkins.io
paths:
- path: /
backendService: httpd
- path: /.*[.](deb|hpi|war|rpm|msi|pkg|sha256|md5sum|zip|gz|pdf|json|svg|sh|jpeg|ico|png|html)$
- path: /.*[.](deb|hpi|war|rpm|msi|pkg|sha256|md5sum|zip|gz|pdf|json|svg|sh|jpeg|ico|png|html|txt)$ # Requires the regexp engine of Nginx to be enabled
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

txt is added only for our testing isn't it? Should we plan to remove it later?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely, this was for tests (and healthchecking mirrors).

Added a new "TODO" in jenkins-infra/helpdesk#2649 (comment) to ensure this pattern list is revised before production

@dduportal dduportal merged commit 7a55dc6 into jenkins-infra:main Oct 30, 2023
6 checks passed
@dduportal dduportal deleted the fix/publick8s/updates.jenkins.io-ingress-regex branch October 30, 2023 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants