Skip to content

Allow uses to define the path for the urunc configuraton #987

Description

@cmainas

Currently the path for the urunc configuration is hardcoded (see https://github.com/urunc-dev/urunc/blob/main/pkg/unikontainers/urunc_config.go#L25) and it expects it to be at /etc/urunc/config.toml. There is no reason to keep the configuration path hardcoded. Instead, we should allow uses to define its path.

Ultimately, the handling of configuration must transfer from urunc to the containerd shim. However, as a temporary solution we can use an environment variable to define the path and have as a fallback /etc/urunc/config.toml.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CoreRelated to urunc's internalsenhancementNew feature or request

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions