redhat-openshift-ecosystem / openshift-preflight

Operator and container preflight certification tests
Apache License 2.0
58 stars 65 forks source link

Investigate using github.com/containers libraries in place of Crane #1157

Open bcrochet opened 1 month ago

bcrochet commented 1 month ago
acornett21 commented 1 month ago

Why would we want to move to this? Is there an advantage? The concern I'd have about moving libs for something like this, is that each tool seems to treat ID's/sha's etc differently in their payloads, so in one tool the DockerID might be 1234 and in the other it's 54321 and they want you to use a different value as the ID, so we'd need to be mindful to not break existing compatability.

bcrochet commented 1 month ago

No doubt on compatibility. What I'm mainly concerned with is a bit of dogfooding the libraries that podman relies on.

acornett21 commented 1 month ago

That's what I thought, but wanted to be sure it wasn't some issue with our current deps.