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

Allow to skip gateway configuration #39

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

ykulazhenkov
Copy link
Collaborator

According to CNI spec gateway is an optional parameter https://github.com/containernetworking/cni/blob/main/SPEC.md?plain=1#L576C1-L576C78

This PR contains changes to make "gateway" configuration optional in nv-ipam.

Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
@coveralls
Copy link

Coverage Status

coverage: 72.083% (+0.03%) from 72.057%
when pulling 371d21e on ykulazhenkov:pr-empty-gateway
into 279a309 on Mellanox:main.

Copy link
Collaborator

@vasrem vasrem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@adrianchiris adrianchiris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

can you add an example in README for this and when you might want to use it ?

@ykulazhenkov ykulazhenkov merged commit 18fc6a0 into Mellanox:main Jun 10, 2024
7 checks passed
@ykulazhenkov ykulazhenkov deleted the pr-empty-gateway branch June 11, 2024 06:42
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.

None yet

5 participants