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

thin plugin: Handle --multus-master-cni-file-name flag #1270

Merged

Conversation

ordovicia
Copy link
Contributor

Multus v3.9.3 has --multus-master-cni-file-name flag to specify the name of a primary CNI config file.
https://github.com/k8snetworkplumbingwg/multus-cni/blob/v3.9.3/images/entrypoint.sh#L22

In Multus v4.0.2, the thin plugin has the flag defined, but it is not read and so does not have effect.

This pull request fixes the problem by making the thin plugin correctly handles --multus-master-cni-file-name flag.

Fixes #1226

Multus v3.9.3 has `--multus-master-cni-file-name` flag to specify the
name of a primary CNI config file.
https://github.com/k8snetworkplumbingwg/multus-cni/blob/v3.9.3/images/entrypoint.sh#L22

In Multus v4.0.2, the thin plugin has the flag defined, but it is not
read and so does not have effect.

This pull request fixes the problem by making the thin plugin correctly
handles `--multus-master-cni-file-name` flag.

Fixes k8snetworkplumbingwg#1226

Signed-off-by: Hidehito Yabuuchi <[email protected]>
@coveralls
Copy link

Coverage Status

coverage: 63.051% (-0.1%) from 63.17%
when pulling 633985d on ordovicia:thin-master-cni-file-flag
into c6a371b on k8snetworkplumbingwg:master.

@s1061123
Copy link
Member

s1061123 commented May 9, 2024

@ordovicia, Looks good to me, thank you for the PR!

@s1061123 s1061123 merged commit 5a2597b into k8snetworkplumbingwg:master May 9, 2024
24 checks passed
@ordovicia ordovicia deleted the thin-master-cni-file-flag branch May 12, 2024 23:59
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.

Master CNI file flag option isn't working for thin plugin
3 participants