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: do not index httproute if not enabled #6454

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented Aug 27, 2024

What this PR does / why we need it:

We should not index HTTPRoute when ServiceFacade feature is enabled but no Gateway API CRDs are installed as that will crash the controller.

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@czeslavo czeslavo force-pushed the fix/httproute-kongservice-index branch 2 times, most recently from cd77965 to 096baa9 Compare August 27, 2024 10:01
@pull-request-size pull-request-size bot added size/L and removed size/S labels Aug 27, 2024
@czeslavo czeslavo self-assigned this Aug 27, 2024
@czeslavo czeslavo added this to the KIC v3.3.x milestone Aug 27, 2024
@czeslavo czeslavo marked this pull request as ready for review August 27, 2024 10:04
@czeslavo czeslavo requested a review from a team as a code owner August 27, 2024 10:04
@czeslavo czeslavo force-pushed the fix/httproute-kongservice-index branch from 096baa9 to 1d06677 Compare August 27, 2024 10:18
@czeslavo czeslavo force-pushed the fix/httproute-kongservice-index branch from 1d06677 to 8ecfa3c Compare August 27, 2024 10:29
Copy link

codecov bot commented Aug 27, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 75.4%. Comparing base (bcca0b7) to head (8ecfa3c).
Report is 4 commits behind head on main.

Files Patch % Lines
...ers/configuration/kongupstreampolicy_controller.go 75.0% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main   #6454     +/-   ##
=======================================
+ Coverage   74.1%   75.4%   +1.2%     
=======================================
  Files        202     202             
  Lines      20491   20492      +1     
=======================================
+ Hits       15200   15453    +253     
+ Misses      4277    4014    -263     
- Partials    1014    1025     +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@czeslavo czeslavo merged commit e2c170e into main Aug 27, 2024
41 checks passed
@czeslavo czeslavo deleted the fix/httproute-kongservice-index branch August 27, 2024 12:50
team-k8s-bot pushed a commit that referenced this pull request Aug 27, 2024
czeslavo added a commit that referenced this pull request Aug 27, 2024
(cherry picked from commit e2c170e)

Co-authored-by: Grzegorz Burzyński <[email protected]>
@czeslavo czeslavo mentioned this pull request Aug 28, 2024
33 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants