-
Notifications
You must be signed in to change notification settings - Fork 748
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
add AWS_EC2_ENDPOINT variable for custom endpoint (#2317) #2326
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making this change @jihunseol ! Can you also add an entry in README.md
and a small unit-test similar to the original PR? For the README, you can set the version introduced as "v1.13.0+".
Also, can you confirm that you built your own image and tested on k8s 1.25?
Sure, I will add an entry in README.md and unit-test also. And I can confirm that latest master image with PR is tested and worked on k8s 1.25. |
@jihunseol thanks for the help here! I approved, rebased, and kicked off testing. I'll merge after the tests pass |
What type of PR is this?
feature
Which issue does this PR fix:
#2317
What does this PR do / Why do we need it:
This PR enables the usage of a custom endpoint for AWS API requests by reading the 'AWS_EC2_ENDPOINT' environment variable. This feature is particularly useful for testing environments that are compatible with the AWS API.
If an issue # is not available please add repro steps and logs from IPAMD/CNI showing the issue:
Testing done on this change:
Manually verified that kubernetes cluster version 1.25.6 on testing environment.
Automation added to e2e:
N/A
Will this PR introduce any new dependencies?:
No
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?:
No
Does this PR introduce any user-facing change?:
No
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.