Closed mssola closed 3 months ago
@felixsch @josegomezr I have re-written the implementation so we are now not importing the package, but we are actually using just the functions we need. The main rationale being:
github.com/genuinetools/bpfd
has not been updated for a while and has known bugs.github.com/GoogleContainerTools/kaniko
supersedes the former but requires the latest Go (which is something we can't guarantee) and pulls in tons of dependencies while we want something small.Note: I have changed container-runtime
to container_runtime
. I have updated the test instructions.
How to test it
Podman/Docker:
Expect:
"container_runtime": "docker"
(or "podman" in case of podman).Not containerized:
Expect: no
container_runtime
in the sent data.Tests
None have been provided since we would basically need to mock the whole thing. Thus, there is not much of a point on doing this.