srl-labs / srl-controller

k8s controller for SR Linux nodes scheduled by KNE
BSD 3-Clause "New" or "Revised" License
16 stars 3 forks source link

Removing clientset and upgrading scaffolding using kubebuilder v3.8.0 #31

Closed hellt closed 1 year ago

hellt commented 1 year ago

Updating srl-controller to use recent version of

removing clientset in favor of using controller-runtime Client.

supersedes #30

codecov[bot] commented 1 year ago

Codecov Report

Merging #31 (a16ecd7) into main (1fb2980) will increase coverage by 45.87%. The diff coverage is 95.65%.

@@             Coverage Diff             @@
##             main      #31       +/-   ##
===========================================
+ Coverage   19.81%   65.69%   +45.87%     
===========================================
  Files          10        7        -3     
  Lines         772      548      -224     
===========================================
+ Hits          153      360      +207     
+ Misses        615      164      -451     
- Partials        4       24       +20     
Impacted Files Coverage Δ
api/v1/srl_version.go 100.00% <ø> (ø)
api/v1/types.go 0.00% <ø> (ø)
controllers/secret.go 41.30% <ø> (+41.30%) :arrow_up:
controllers/pod.go 71.07% <90.00%> (+71.07%) :arrow_up:
api/v1/srlinux_types.go 100.00% <100.00%> (ø)
controllers/cfgmap.go 60.00% <100.00%> (+60.00%) :arrow_up:
controllers/srlinux_controller.go 65.06% <100.00%> (+65.06%) :arrow_up:

... and 1 file with indirect coverage changes