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(gateway): use MeshGatewayInstance mesh annotation when matching #4361

Merged

Conversation

michaelbeaumont
Copy link
Contributor

Summary

Or should MeshGatewayInstance have a .mesh field like MeshGateway/MeshGatewayRoute?
Since it's namespaced though, it will need to respect the Namespace annotation either way.

@michaelbeaumont michaelbeaumont requested a review from a team as a code owner May 25, 2022 15:45
@codecov-commenter
Copy link

codecov-commenter commented May 25, 2022

Codecov Report

Merging #4361 (1372cbd) into master (ecc63d4) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #4361   +/-   ##
=======================================
  Coverage   55.41%   55.41%           
=======================================
  Files         941      941           
  Lines       57125    57129    +4     
=======================================
+ Hits        31654    31659    +5     
- Misses      22964    22965    +1     
+ Partials     2507     2505    -2     
Impacted Files Coverage Δ
...ime/k8s/controllers/gateway_instance_controller.go 0.00% <0.00%> (ø)
pkg/xds/generator/direct_access_proxy_generator.go 89.65% <0.00%> (-1.15%) ⬇️
pkg/core/resources/manager/cache.go 85.71% <0.00%> (ø)
pkg/plugins/resources/postgres/store.go 76.79% <0.00%> (+0.42%) ⬆️
...s/authn/api-server/tokens/admin_token_bootstrap.go 86.00% <0.00%> (+4.00%) ⬆️
pkg/core/tokens/default_signing_key.go 86.11% <0.00%> (+8.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ecc63d4...1372cbd. Read the comment docs.

@lahabana
Copy link
Contributor

I think annotation makes more sense as this is a workload.

Copy link
Contributor

@lahabana lahabana left a comment

Choose a reason for hiding this comment

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

Should this be backported?

@michaelbeaumont michaelbeaumont merged commit d08a53a into kumahq:master May 27, 2022
@michaelbeaumont michaelbeaumont deleted the fix/meshgatewayinstance_mesh branch May 27, 2022 10:26
mergify bot pushed a commit that referenced this pull request May 27, 2022
mergify bot added a commit that referenced this pull request May 27, 2022
…backport #4361) (#4371)

fix(gateway): use MeshGatewayInstance mesh annotation when matching (#4361)

Signed-off-by: Mike Beaumont <[email protected]>
(cherry picked from commit d08a53a)

Co-authored-by: Mike Beaumont <[email protected]>
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.

3 participants