Skip to content

Add WithPluginDirsAndCacheDir option and deprecate WithPluginDir option#135

Open
Voldemat wants to merge 1 commit intocontainerd:mainfrom
Voldemat:main
Open

Add WithPluginDirsAndCacheDir option and deprecate WithPluginDir option#135
Voldemat wants to merge 1 commit intocontainerd:mainfrom
Voldemat:main

Conversation

@Voldemat
Copy link
Copy Markdown

Right now there is no way to configure cni cache directory from containerd, libcni already upstreamed ability to configure it through new CNIConfig constructor function NewCNIConfigWithCacheDir. If we want same behavior as before, we can just set cacheDir argument to empty string as I noted in documentation string before WithPluginDirsAndCacheDir function.
This change would allow containerd to then set this cache dir from configuration file.

Signed-off-by: Vladimir Voitenko <vladimirdev635@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant