Add a pod mutating webhook to auto inject the pod network resources #4179
18.56% of diff hit (target 60.00%)
View this Pull Request on Codecov
18.56% of diff hit (target 60.00%)
Annotations
Check warning on line 34 in pkg/podmanager/pod_webhook.go
codecov / codecov/patch
pkg/podmanager/pod_webhook.go#L30-L34
Added lines #L30 - L34 were not covered by tests
Check warning on line 43 in pkg/podmanager/pod_webhook.go
codecov / codecov/patch
pkg/podmanager/pod_webhook.go#L36-L43
Added lines #L36 - L43 were not covered by tests
Check warning on line 52 in pkg/podmanager/pod_webhook.go
codecov / codecov/patch
pkg/podmanager/pod_webhook.go#L46-L52
Added lines #L46 - L52 were not covered by tests
Check warning on line 64 in pkg/podmanager/pod_webhook.go
codecov / codecov/patch
pkg/podmanager/pod_webhook.go#L55-L64
Added lines #L55 - L64 were not covered by tests
Check warning on line 68 in pkg/podmanager/pod_webhook.go
codecov / codecov/patch
pkg/podmanager/pod_webhook.go#L67-L68
Added lines #L67 - L68 were not covered by tests
Check warning on line 72 in pkg/podmanager/pod_webhook.go
codecov / codecov/patch
pkg/podmanager/pod_webhook.go#L71-L72
Added lines #L71 - L72 were not covered by tests
Check warning on line 81 in pkg/podmanager/pod_webhook.go
codecov / codecov/patch
pkg/podmanager/pod_webhook.go#L75-L81
Added lines #L75 - L81 were not covered by tests
Check warning on line 89 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L83-L89
Added lines #L83 - L89 were not covered by tests
Check warning on line 91 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L91
Added line #L91 was not covered by tests
Check warning on line 146 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L145-L146
Added lines #L145 - L146 were not covered by tests
Check warning on line 151 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L151
Added line #L151 was not covered by tests
Check warning on line 155 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L154-L155
Added lines #L154 - L155 were not covered by tests
Check warning on line 217 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L177-L217
Added lines #L177 - L217 were not covered by tests
Check warning on line 228 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L223-L228
Added lines #L223 - L228 were not covered by tests
Check warning on line 232 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L230-L232
Added lines #L230 - L232 were not covered by tests
Check warning on line 240 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L234-L240
Added lines #L234 - L240 were not covered by tests
Check warning on line 242 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L242
Added line #L242 was not covered by tests
Check warning on line 253 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L248-L253
Added lines #L248 - L253 were not covered by tests
Check warning on line 259 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L255-L259
Added lines #L255 - L259 were not covered by tests
Check warning on line 264 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L262-L264
Added lines #L262 - L264 were not covered by tests
Check warning on line 271 in pkg/podmanager/utils.go
codecov / codecov/patch
pkg/podmanager/utils.go#L266-L271
Added lines #L266 - L271 were not covered by tests