spidernet-io / spiderpool

Underlay and RDMA network solution of the Kubernetes, for bare metal, VM and any public cloud
https://spidernet-io.github.io/spiderpool/
Apache License 2.0
539 stars 75 forks source link

Fix podwebhook cert don't update when spiderpool-controller restart #4246

Closed weizhoublue closed 3 weeks ago

weizhoublue commented 3 weeks ago

robot cherry pick PR https://github.com/spidernet-io/spiderpool/pull/4245 from cyclinder,to branch release-v1.0, action https://github.com/spidernet-io/spiderpool/actions/runs/11607347306 , commits ea7f44decf9f0ced29a86a4f6c4d1eb80a9f7553

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.65%. Comparing base (2df41f1) to head (141e551). Report is 2 commits behind head on release-v1.0.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/4246/graphs/tree.svg?width=650&height=150&src=pr&token=YKXY2E4Q8G&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io)](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/4246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io) ```diff @@ Coverage Diff @@ ## release-v1.0 #4246 +/- ## ================================================ + Coverage 79.59% 79.65% +0.05% ================================================ Files 51 51 Lines 5772 5774 +2 ================================================ + Hits 4594 4599 +5 + Misses 1014 1012 -2 + Partials 164 163 -1 ``` | [Flag](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/4246/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/4246/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io) | `79.65% <100.00%> (+0.05%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/4246?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io) | Coverage Δ | | |---|---|---| | [pkg/podmanager/utils.go](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/4246?src=pr&el=tree&filepath=pkg%2Fpodmanager%2Futils.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io#diff-cGtnL3BvZG1hbmFnZXIvdXRpbHMuZ28=) | `66.26% <100.00%> (+0.27%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/spidernet-io/spiderpool/pull/4246/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spidernet-io)