-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat(CVP-4333): add more helper functions for FIPS check #342
Conversation
@dirgim Could you please help review this? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #342 +/- ##
========================================
Coverage ? 100.00%
========================================
Files ? 18
Lines ? 502
Branches ? 0
========================================
Hits ? 502
Misses ? 0
Partials ? 0 ☔ View full report in Codecov by Sentry. |
This commit adds two functions, first is process_image_digest_mirror_set which takes imageDigestMirrorSet as yaml and returns a map of source and mirrors. The second is replace_image_pullspec which replaces the image registry and repo with that of a mirror. Signed-off-by: Yashvardhan Nanavati <yashn@bu.edu>
732ee4b
to
f6c048a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good to me, I left a non-blocking suggestion, but it's an optional improvement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
This commit adds two functions, first is process_image_digest_mirror_set which takes imageDigestMirrorSet as yaml and returns a map of source and mirrors. The second is replace_image_pullspec which replaces the image registry and repo with that of a mirror.