projectcontour / contour-operator

Experimental repository to explore an operator for deploying Contour
Apache License 2.0
43 stars 34 forks source link

internal/objects: use OwnerLabels helper everywhere #493

Closed skriss closed 2 years ago

skriss commented 2 years ago

Uses the OwnerLabels helper function to set labels for all created resources.

Signed-off-by: Steve Kriss krisss@vmware.com

codecov[bot] commented 2 years ago

Codecov Report

Merging #493 (c27649a) into main (a3035dd) will decrease coverage by 0.22%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #493      +/-   ##
==========================================
- Coverage   77.85%   77.62%   -0.23%     
==========================================
  Files          29       29              
  Lines        2190     2168      -22     
==========================================
- Hits         1705     1683      -22     
  Misses        346      346              
  Partials      139      139              
Impacted Files Coverage Δ
internal/objects/clusterrole/cluster_role.go 81.66% <100.00%> (-0.88%) :arrow_down:
...objects/clusterrolebinding/cluster_role_binding.go 78.43% <100.00%> (-0.82%) :arrow_down:
internal/objects/daemonset/daemonset.go 93.21% <100.00%> (ø)
internal/objects/deployment/deployment.go 91.98% <100.00%> (+0.03%) :arrow_up:
internal/objects/job/job.go 76.92% <100.00%> (ø)
internal/objects/namespace/namespace.go 63.15% <100.00%> (-1.85%) :arrow_down:
internal/objects/role/role.go 85.33% <100.00%> (-0.75%) :arrow_down:
internal/objects/rolebinding/role_binding.go 79.62% <100.00%> (-0.73%) :arrow_down:
internal/objects/service/service.go 83.92% <100.00%> (-0.42%) :arrow_down:
internal/objects/serviceaccount/service_account.go 75.55% <100.00%> (-1.53%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a3035dd...c27649a. Read the comment docs.