Commit e97bfe7
* pkg awsutils
* pkg ec2wrapper: add func to describe subnets
* pkg ipamd: handle primary ENI exclusion
* test: add integration test
* pkg: enable subnet discovery for IPv6 mode
* test integration eni-subnet-discovery: extend tests for IPv6 mode
* pkg: use shared context for awsutils and ipamd
* pkg awsutils: fix compilation error
* pkg ipamd: clean up ENI if not previously used
* pkg ipamd: gracefully exclude primary ENI if existing pods
* test integration: add integration test for primary ENI exclusion
* pkg ipamd: fix bug when calculating currentENIs when primary ENI is excluded
* pkg ipamd: implement secondary ENI exclusion logic
* pkg ipamd: add unit test for secondary ENI exclusion
* test integration: add integ test for secondary ENI exclusion testing
* test integration: add test for security group refresh
* rebase to latest mainline chnages
* remove value check for tags
* reviewed
* updated based on comments
* add more unit tests
* primary ENI can't be easily ignored
---------
Co-authored-by: Shehbaj Dhillon <dshehbaj@amazon.com>
1 parent 56e4256 commit e97bfe7
26 files changed
Lines changed: 7760 additions & 667 deletions
File tree
- cmd
- aws-k8s-agent
- routed-eni-cni-plugin/driver/mocks
- pkg
- awsutils
- mocks
- ec2wrapper
- mocks
- ipamd
- datastore
- networkutils/mocks
- types
- testdata
- test
- framework/resources/k8s/resources
- integration/eni-subnet-discovery
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
167 | | - | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments