Skip to content

Change RedpandaContainer startup script path #841

@lorenzobenvenuti

Description

@lorenzobenvenuti

Hi,

we're running Testcontainers in Openshift using Kubedock; when using RedpandaContainer, our tests break because , after the container is started, the actual startup script is copied to / which is not writable by the redpanda user. I think we could safely switch to another directory, for example /var/lib/redpanda (btw I see other libraries are doing the same, see here).
I realize we have a pretty unique setup but the change should be pretty simple and probably using a directory owned by the user that runs the container could prevent issues in other environments too.
If you think it's feasible I can work on a PR.

Thanks,

lorenzo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions