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

Bug fix: Ensure exact IP match between IMDS and local datastore. #3033

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

yash97
Copy link
Contributor

@yash97 yash97 commented Sep 18, 2024

What type of PR is this?

Which issue does this PR fix?:

Fixes #3019

What does this PR do / Why do we need it?:
This PR verifies contents of imds ips vs internal state instead of just length of array.

Testing done on this change:

I have added unit test for functions that test equivalency of array.

Will this PR introduce any new dependencies?:

Will this break upgrades or downgrades? Has updating a running cluster been tested?:
No

Does this change require updates to the CNI daemonset config files to work?:

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@yash97 yash97 requested a review from a team as a code owner September 18, 2024 05:46
orsenthil
orsenthil previously approved these changes Sep 18, 2024
Copy link
Member

@orsenthil orsenthil left a comment

Choose a reason for hiding this comment

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

LGTM. please fix the make vet.

Copy link
Member

@orsenthil orsenthil left a comment

Choose a reason for hiding this comment

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

LGTM

@orsenthil orsenthil merged commit 5c471fe into aws:master Sep 18, 2024
6 checks passed
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.

Stale IMDS entries could cause VPC CNI incorrectly release in-use IPs
2 participants