projectcontour / contour-operator

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

Switch to Role for leaderelection resource RBAC #488

Closed sunjayBhatia closed 2 years ago

sunjayBhatia commented 2 years ago

Adds Contour Role and RoleBinding

See Controller PR: https://github.com/projectcontour/contour/pull/4204

codecov[bot] commented 2 years ago

Codecov Report

Merging #488 (fa5042d) into main (a343ed2) will increase coverage by 0.31%. The diff coverage is 68.65%.

:exclamation: Current head fa5042d differs from pull request most recent head dd053c7. Consider uploading reports for the commit dd053c7 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #488      +/-   ##
==========================================
+ Coverage   78.63%   78.94%   +0.31%     
==========================================
  Files          29       29              
  Lines        2167     2190      +23     
==========================================
+ Hits         1704     1729      +25     
+ Misses        334      333       -1     
+ Partials      129      128       -1     
Impacted Files Coverage Δ
internal/objects/clusterrole/cluster_role.go 82.53% <ø> (-0.54%) :arrow_down:
internal/objects/rbac.go 56.47% <36.36%> (-4.25%) :arrow_down:
internal/objects/role/role.go 86.07% <100.00%> (+6.07%) :arrow_up:
internal/objects/daemonset/daemonset.go 95.00% <0.00%> (+0.71%) :arrow_up:
internal/objects/deployment/deployment.go 94.91% <0.00%> (+1.69%) :arrow_up:

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 a343ed2...dd053c7. Read the comment docs.