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 package import for HTTPRouteFilterExtensionRef #821

Merged
merged 2 commits into from
Dec 19, 2022

Conversation

arkodg
Copy link
Contributor

@arkodg arkodg commented Dec 19, 2022

Caused by merging #791 without rebasing #816

Signed-off-by: Arko Dasgupta arko@tetrate.io

Caused by merging envoyproxy#791
without rebasing envoyproxy#816

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
@arkodg arkodg requested a review from a team as a code owner December 19, 2022 21:09
@arkodg
Copy link
Contributor Author

arkodg commented Dec 19, 2022

looks like the tests also need to be updated to use the indexes in the tests

was failing with below error
```
    --- FAIL: TestProcessHTTPRoutes/httproute_with_one_authenticationfilter (0.00s)
        routes_test.go:221:
            	Error Trace:	/Users/arkodebdasgupta/go-workspace/src/github.com/envoyproxy/gateway/internal/provider/kubernetes/routes_test.go:221
            	Error:      	Received unexpected error:
            	            	List on GroupVersionKind gateway.networking.k8s.io/v1beta1, Kind=HTTPRoute specifies selector on field gatewayHTTPRouteIndex, but no index with name gatewayHTTPRouteIndex has been registered for GroupVersionKind gateway.networking.k8s.io/v1beta1, Kind=HTTPRoute
            	Test:       	TestProcessHTTPRoutes/httproute_with_one_authenticationfilter
```

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
@codecov-commenter
Copy link

Codecov Report

Merging #821 (6a7d442) into main (46b7b75) will decrease coverage by 0.11%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##             main     #821      +/-   ##
==========================================
- Coverage   64.14%   64.03%   -0.12%     
==========================================
  Files          46       46              
  Lines        6103     6203     +100     
==========================================
+ Hits         3915     3972      +57     
- Misses       1952     1989      +37     
- Partials      236      242       +6     
Impacted Files Coverage Δ
internal/gatewayapi/translator.go 89.67% <0.00%> (-0.70%) ⬇️
internal/gatewayapi/zz_generated.deepcopy.go 0.00% <0.00%> (ø)
internal/provider/kubernetes/predicates.go 61.21% <46.66%> (-1.46%) ⬇️
internal/provider/kubernetes/controller.go 52.54% <71.87%> (+1.05%) ⬆️
internal/provider/kubernetes/routes.go 50.00% <78.57%> (+4.94%) ⬆️
internal/gatewayapi/helpers.go 77.12% <82.35%> (+0.65%) ⬆️
internal/provider/kubernetes/helpers.go 77.04% <0.00%> (+0.81%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@danehans danehans left a comment

Choose a reason for hiding this comment

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

Thanks for catching and fixing this issue @arkodg.

@danehans danehans merged commit 1762820 into envoyproxy:main Dec 19, 2022
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.

None yet

3 participants