Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cni: handle multi-path cni_path when fingerprinting plugins #16163

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

shoenig
Copy link
Contributor

@shoenig shoenig commented Feb 13, 2023

This PR fixes the CNI plugin fingerprinter to take into account the fact
that the cni_path config can be a multi-path (e.g. /foo:/bar:/baz).

Accumulate plugins from each of the possible path elements. If scanning
any of the named directory fails, the fingerprinter fails.

Fixes #16083

No CL/BP - has not shipped yet.

This PR fixes the CNI plugin fingerprinter to take into account the fact
that the cni_path config can be a multi-path (e.g. `/foo:/bar:/baz`).

Accumulate plugins from each of the possible path elements. If scanning
any of the named directory fails, the fingerprinter fails.

Fixes #16083

No CL/BP - has not shipped yet.
@shoenig shoenig marked this pull request as ready for review February 13, 2023 20:30
@shoenig shoenig requested review from gulducat and lgfa29 February 13, 2023 20:31
@shoenig shoenig merged commit c41ccc6 into main Feb 13, 2023
@shoenig shoenig deleted the cni-fp-multi-paths branch February 13, 2023 20:55
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.

cni fingerprinter multi paths
2 participants