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

Refactor logs gather flow to support multiple clusters #452

Merged

Conversation

MaxBab
Copy link
Collaborator

@MaxBab MaxBab commented Oct 27, 2024

What type of PR is this?

  • Enhancement / New Feature
  • Bug Fix
  • Refactor
  • Optimization
  • Test
  • Documentation Update

What this PR does / why we need it:

  • Refactor logs gathering flow to support logs gather from multiple clusters. This is used in multi cluster scenario
  • Add "getSecret" function to fetch certs that are used in multicluster test.

Which issue(s) this PR fixes:

Fixes #422

@MaxBab MaxBab requested a review from a team as a code owner October 27, 2024 19:33
@MaxBab MaxBab requested review from luksa and fjglira October 27, 2024 19:34
Copy link

codecov bot commented Oct 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.61%. Comparing base (16c3e03) to head (c52d103).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #452      +/-   ##
==========================================
- Coverage   75.73%   75.61%   -0.13%     
==========================================
  Files          35       35              
  Lines        2061     2079      +18     
==========================================
+ Hits         1561     1572      +11     
- Misses        428      433       +5     
- Partials       72       74       +2     

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

- Refactor logs gathering flow to support logs gather from multiple
  clusters.
  This is used in multi cluster scenario

- Add "getSecret" function to fetch certs that are used in multicluster
  test.

- Add name cluster to be specified during log gathering.

Signed-off-by: Maxim Babushkin <[email protected]>
@MaxBab MaxBab force-pushed the refactor_logs_gathering_flow branch from 953cb16 to c52d103 Compare October 28, 2024 09:46
@MaxBab MaxBab requested a review from sridhargaddam October 28, 2024 09:47
Copy link
Collaborator

@dgn dgn left a comment

Choose a reason for hiding this comment

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

LGTM! Adding a hold so Sridhar can take another look. Feel free to remove (by removing label or commenting /hold cancel)

/hold

Copy link
Contributor

@sridhargaddam sridhargaddam 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 incorporating the changes @MaxBab

@istio-testing istio-testing merged commit ec13475 into istio-ecosystem:main Oct 28, 2024
16 of 17 checks passed
@MaxBab MaxBab deleted the refactor_logs_gathering_flow branch October 28, 2024 11:09
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Oct 28, 2024
* upstream/main:
  Consolidate reconciler config fields into ReconcilerConfig (istio-ecosystem#453)
  Refactor logs gather flow to support multiple clusters (istio-ecosystem#452)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Refactor log gathering function to work with multiple clusters
4 participants