NE-2510: Remove unused os_wildcard_domain.map - #830
Conversation
|
@Miciah: This pull request references NE-2510 which is a valid jira issue. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (10)
💤 Files with no reviewable changes (4)
📝 WalkthroughWalkthroughWildcard-domain HAProxy map generation, associations, template helpers, inline templates, and image initialization were removed. Related tests were deleted or updated to retain HTTP backend map assertions. Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
The os_wildcard_domain.map file and its associated generation logic have been unused since wildcard route support was integrated directly into the other HAProxy map files (os_http_be.map, os_edge_reencrypt_be.map, os_tcp_be.map, etc.). Remove the dead template definition, map entry generator, helper function, and related test code to reduce maintenance burden and eliminate confusion about the router's active map files. This commit resolves NE-2510. https://issues.redhat.com/browse/NE-2510 Follow-up to commit 4346b05. openshift/origin@006bae3 * images/router/haproxy/conf/haproxy-config.template (conf/os_wildcard_domain.map): Remove template definition. * pkg/router/template/util/haproxy/map_entry.go (generateWildcardDomainMapEntry): Remove function. * pkg/router/template/util/haproxy/map_entry.go (GenerateMapEntry): Remove os_wildcard_domain.map entry from generator map. * pkg/router/template/util/haproxy/map_entry_test.go (TestGenerateWildcardDomainMapEntry): Remove test. * pkg/router/template/template_helper.go (genSubdomainWildcardRegexp): Remove legacy function. * pkg/router/template/template_helper.go (helperFunctions): Remove genSubdomainWildcardRegexp entry. * pkg/router/template/template_helper_test.go (TestGenerateHAProxyMap): Remove os_wildcard_domain.map test block. * pkg/router/template/configmanager/haproxy/manager.go (BuildMapAssociations): Remove os_wildcard_domain.map association. * images/router/haproxy/Dockerfile: * images/router/haproxy/Dockerfile.rhel: * images/router/haproxy/Dockerfile.ocp: * hack/Dockerfile.debug: Remove os_wildcard_domain from pre-created map files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
03b4cb7 to
8a15b44
Compare
|
@Miciah: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
The
os_wildcard_domain.mapfile and its associated generation logic have been unused since wildcard route support was integrated directly into the other HAProxy map files (os_http_be.map,os_edge_reencrypt_be.map,os_tcp_be.map, etc.). Remove the dead template definition, map entry generator, helper function, and related test code to reduce maintenance burden and eliminate confusion about the router's active map files.Follow-up to openshift/origin#12580.