everoute / ipam

everoute ipam for everoute cni and ecp cni
1 stars 1 forks source link

feat: doesn't reallocate ip to pod when it doesn't specify static-ip or ip-list #38

Closed qingwusunny closed 6 months ago

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 68.42105% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 71.62%. Comparing base (f5056ff) to head (580ff78). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/everoute/ipam/pull/38/graphs/tree.svg?width=650&height=150&src=pr&token=ol7PVNGwvq&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute)](https://app.codecov.io/gh/everoute/ipam/pull/38?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute) ```diff @@ Coverage Diff @@ ## main #38 +/- ## ========================================== - Coverage 72.04% 71.62% -0.42% ========================================== Files 10 11 +1 Lines 887 994 +107 ========================================== + Hits 639 712 +73 - Misses 199 226 +27 - Partials 49 56 +7 ``` | [Files](https://app.codecov.io/gh/everoute/ipam/pull/38?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute) | Coverage Δ | | |---|---|---| | [pkg/cron/statefulset.go](https://app.codecov.io/gh/everoute/ipam/pull/38?src=pr&el=tree&filepath=pkg%2Fcron%2Fstatefulset.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute#diff-cGtnL2Nyb24vc3RhdGVmdWxzZXQuZ28=) | `69.76% <0.00%> (ø)` | | | [pkg/ipam/ipam.go](https://app.codecov.io/gh/everoute/ipam/pull/38?src=pr&el=tree&filepath=pkg%2Fipam%2Fipam.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute#diff-cGtnL2lwYW0vaXBhbS5nbw==) | `71.20% <80.00%> (-2.43%)` | :arrow_down: | | [pkg/cron/pod.go](https://app.codecov.io/gh/everoute/ipam/pull/38?src=pr&el=tree&filepath=pkg%2Fcron%2Fpod.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute#diff-cGtnL2Nyb24vcG9kLmdv) | `65.71% <63.63%> (+5.05%)` | :arrow_up: |