Skip to content

MetalLB addon fails to deploy on Podman #945

@shaneutt

Description

@shaneutt

Current Behavior

If kind is configured to use Podman instead of Docker when creating a test environment with the metallb addon enabled, the create will fail with:

$ ktf env create --addon metallb
building new environment kong-testing-environment
Error: failed to deploy addon metallb: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/kong-testing-environment-control-plane/json": dial unix /var/run/docker.sock: connect: permission denied

If the addon is not enabled, the environment will succeed.

Expected Behavior

Kind itself supports Podman as a container runtime, so we should for KTF as well.

Steps To Reproduce

$ ktf env create --addon metall

Kong Kubernetes Testing Framework Version

`v0.44.0`

Kubernetes version

`v1.27.3`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions