ROX-26719: Decouple ServiceCertificatesRepo from localscanner package#12825
ROX-26719: Decouple ServiceCertificatesRepo from localscanner package#12825vladbologa merged 4 commits intomasterfrom
Conversation
|
Skipping CI for Draft Pull Request. |
e482df9 to
1a80aef
Compare
|
/test all |
|
Images are ready for the commit at abb17fd. To use with deploy scripts, first |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12825 +/- ##
==========================================
- Coverage 48.16% 48.14% -0.02%
==========================================
Files 2439 2440 +1
Lines 175036 175036
==========================================
- Hits 84304 84270 -34
- Misses 83934 83964 +30
- Partials 6798 6802 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
/test gke-nongroovy-e2e-tests |
1a80aef to
abb17fd
Compare
vikin91
left a comment
There was a problem hiding this comment.
All looks good! I left one comment to consider.
Please make sure that CI is happy before merging.
|
/test gke-qa-e2e-tests |
porridge
left a comment
There was a problem hiding this comment.
LGTM modulo the checkboxes in PR description.
Description
#12740 introduces a new Central API to refresh all Secured Cluster certificates.
On the Sensor side, I plan to reuse parts of the existing certificate refresh logic from the
localscannerpackage, which is:To prepare for this, I'm extracting the
ServiceCertificatesRepofrom thelocalscannerpackage, so that it can be used to handle also other sets of certificates, not just local scanner.Changes in this PR:
sensor/kubernetes/localscannerpackage tosensor/kubernetes/certrefresh/localscannerServiceCertificatesRepocode into ``sensor/kubernetes/certrefresh/certrepo`ServiceCertificatesRepotests between the two packages (localscannerandcertrepo)There are no functionality changes in this PR - only refactoring, renames, and the necessary updates to fix compilation and tests. It's probably easiest to review commit by commit.
User-facing documentation
Testing and quality
Automated testing
How I validated my change
Existing tests should verify regressions. There is no new functionality added in this PR.