projectcontour / contour-operator

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

Migrate to Kubebuilder v3 schema #396

Closed BostjanBozic closed 1 year ago

BostjanBozic commented 3 years ago

Updates project schema to Kubebuilder v3 compliant schema. Following changes have been performed:

There are quite some minor tweaks, mostly to naming conventions, so it would be great if someone else can take a look as well and provide some feedback what we want to keep "the old way" and what in "kubebuilder v3" way.

Regarding failing test-e2e:

Updates: https://github.com/projectcontour/contour-operator/issues/392

cc: @danehans @youngnick

Signed-off-by: Bostjan Bozic bozic.bostjann@gmail.com

codecov[bot] commented 3 years ago

Codecov Report

Merging #396 (3799cf1) into main (9819182) will decrease coverage by 0.10%. The diff coverage is n/a.

:exclamation: Current head 3799cf1 differs from pull request most recent head 412a3bc. Consider uploading reports for the commit 412a3bc to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##             main     #396      +/-   ##
==========================================
- Coverage   59.58%   59.48%   -0.11%     
==========================================
  Files          19       19              
  Lines        1888     1888              
==========================================
- Hits         1125     1123       -2     
- Misses        737      738       +1     
- Partials       26       27       +1     
Impacted Files Coverage Δ
pkg/validation/validation.go 81.20% <0.00%> (-1.35%) :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 9819182...412a3bc. Read the comment docs.

sunjayBhatia commented 3 years ago

Initial impression from me is we might want to break this up into smaller more digestible pieces to review since the number of changes here is pretty big for a single PR

sunjayBhatia commented 3 years ago

Also consider waiting to merge all this to after the upcoming release since this is a large change (size maybe not actual complexity)

BostjanBozic commented 3 years ago

@sunjayBhatia thanks for looking into it. I am up for waiting to do this after next release. Regarding breaking this into smaller pieces, I would try to keep most of changes in single PR (most of the changes are reshuffling file location and comments), but maybe we could have a separate one for Makefile changes.

BostjanBozic commented 3 years ago

@sunjayBhatia Do you think it would be time to look into this now that v1.17.0 is released? I also saw there were updates to controller-runtime, so I would maybe wait until this is pushed in kubebuilder and then review additional changes this creates?

skriss commented 1 year ago

This is stale, closing out.