New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crd: Refactor RegisterCRDsCell to be extensible #25590
crd: Refactor RegisterCRDsCell to be extensible #25590
Conversation
65e00e4
to
f81da27
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. At some point we could also consider making the CRDs we want to register a group value.
Actually, I wasn't completely satisfied by the package level variable and tried the group approach. |
f81da27
to
c235bba
Compare
c235bba
to
1f90e40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Current implementation of RegisterCRDsCell is strictly tied to the registration of the CRDs belonging to the "cilium.io" group. This commit refactors the cell to make it easily extendable if other groups needs to register their CRDs at operator startup. Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
1f90e40
to
1b61b53
Compare
/test |
External workloads flake tracked in #25736, going to rerun. |
Current implementation of RegisterCRDsCell is strictly tied to the registration of the CRDs belonging to the "cilium.io" group.
This PR refactors the cell to make it easily extendable if other groups needs to register their CRDs at operator startup.