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

MESH-5878: Admiral does not create envoy filter on client onboardings #362

Merged
merged 15 commits into from
Jan 8, 2025

Conversation

adilfulara
Copy link
Collaborator

Task

  • Admiral should process new client onboardings for a service with a RoutingPolicy

Description

What does this change do and why?

  • Introduce RoutingPolicyProcessor interface to contain the process() api in order to expose it

Thank you!

@codecov-commenter
Copy link

codecov-commenter commented Dec 10, 2024

Codecov Report

Attention: Patch coverage is 90.80460% with 16 lines in your changes missing coverage. Please review.

Project coverage is 77.18%. Comparing base (e885c76) to head (f1ed8a7).

Files with missing lines Patch % Lines
admiral/pkg/clusters/routingpolicy_handler.go 91.02% 9 Missing and 5 partials ⚠️
admiral/pkg/clusters/dependency_handler.go 71.42% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #362      +/-   ##
==========================================
+ Coverage   76.76%   77.18%   +0.41%     
==========================================
  Files          75       75              
  Lines       10300    10397      +97     
==========================================
+ Hits         7907     8025     +118     
+ Misses       1988     1963      -25     
- Partials      405      409       +4     

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

@adilfulara adilfulara force-pushed the MESH-5878 branch 5 times, most recently from d2ffc07 to d2b5b9b Compare December 17, 2024 20:54
@adilfulara adilfulara marked this pull request as ready for review December 23, 2024 21:06
Adil Fulara added 14 commits January 7, 2025 21:33
- Introduce RoutingPolicyProcessor interface
- Inject RoutingPolicyService into DependencyHandler

Signed-off-by: Adil Fulara <[email protected]>
- Add telemetry logs for RoutingPolicyService methods

Signed-off-by: Adil Fulara <[email protected]>
- Move around api in dependency_handler

Signed-off-by: Adil Fulara <[email protected]>
- Switch to context logger and add additional logging

Signed-off-by: Adil Fulara <[email protected]>
- Revert back to processing dependecy for routing policy after modifySE
- Add more logging

Signed-off-by: Adil Fulara <[email protected]>
- Process dependency for routing policy before adding to cache

Signed-off-by: Adil Fulara <[email protected]>
- Move cache put to start of function to always reflect the real cluster state in cache

Signed-off-by: Adil Fulara <[email protected]>
- Move cache put to Controller

Signed-off-by: Adil Fulara <[email protected]>
- Disable dependency processing during warmup

Signed-off-by: Adil Fulara <[email protected]>
Signed-off-by: Adil Fulara <[email protected]>
@adilfulara adilfulara merged commit 149d88a into istio-ecosystem:master Jan 8, 2025
3 checks passed
@adilfulara adilfulara deleted the MESH-5878 branch January 8, 2025 18:07
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.

4 participants