fix: add check during image discovery to make sure images are valid#3234
fix: add check during image discovery to make sure images are valid#3234brandtkeller merged 8 commits intozarf-dev:mainfrom
Conversation
Signed-off-by: Allen Conlon <software@conlon.dev>
✅ Deploy Preview for zarf-docs canceled.
|
✅ Deploy Preview for zarf-docs canceled.
|
|
Related to #3253 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
Signed-off-by: Allen Conlon <software@conlon.dev>
06ee1fd to
b2b355c
Compare
|
Any reason those two test are stuck? |
GitHub reports "unexpected error" - so I'm going to give those a retry real quick. |
Ah, thank you very much!! |
brandtkeller
left a comment
There was a problem hiding this comment.
This definitely improves the baseline. I'll let another maintainer weigh-in if there is any patterns or constraints we want to follow with regards to the regex logic - otherwise LGTM.
|
Thanks!! I was a little worried that because you all are migrating to |
mkcp
left a comment
There was a problem hiding this comment.
LGTM. Good test case and defense for the logic. Matching the license and incl. attribution makes accepting this easy. Nice job
|
I would be happy to help with the effort to port over to the |
|
Thanks Team!! |
…arf-dev#3234) Signed-off-by: Allen Conlon <software@conlon.dev> Signed-off-by: NevinAragam <nevin.aragam@gmail.com>
Description
When using
zarfto discover images with the Ironbank chartkyverno-policies, therestrict-image-registriespolicy, (simple version included in tests), has an entry of:registry.dso.mil/*This is a false positive and cases cosign looks up to fail as that is not a valid image.
Checklist before merging