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
refactor: move CRD registration to separate cell #24219
refactor: move CRD registration to separate cell #24219
Conversation
Travis has a failure, but it's unclear to me if it's related to this PR:
|
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.
Thanks for your PR!
I left some comments inline with suggestions on how to restructure the new cell.
Thanks for your detailed guidance, I will update this PR in a few days. |
Commit f7fd9410946764331bccd4d130934438f9a16d4f does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
f7fd941
to
5f03659
Compare
The test passed this time, seems to be a flaky one 🤔 |
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.
Thanks for the updated PR!
The cell is ok, my main concern is about the management of the skipCRDCreation
option. We can improve it moving to the cell itself.
5f03659
to
c7b6f0b
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.
Changes look good, only things remaining are:
- fix the operator options setting in controlplane test
- update documentation in cmdref
I left some notes inline.
Commit 113c868a1c20c183b4ac29858b1e5828e6ed8d4b does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
Commits 113c868a1c20c183b4ac29858b1e5828e6ed8d4b, 0e794d6ac866468dc544abe1f8f7833067ec4941 do not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
0e794d6
to
6714b8d
Compare
We usually avoid rerunning in this case, it would just hide the flake. |
6714b8d
to
396ccd6
Compare
@christarazi I have squashed the commits, PTAL |
gently ping @christarazi |
396ccd6
to
767bd6a
Compare
/test |
767bd6a
to
060c348
Compare
/test Job 'Cilium-PR-K8s-1.25-kernel-4.19' failed: Click to show.Test Name
Failure Output
If it is a flake and a GitHub issue doesn't already exist to track it, comment |
Build finished. |
@pippolo84 We should track the CI failures before we mark ready to merge. |
/mlh new-flake Cilium-PR-K8s-1.25-kernel-4.19 👍 created #24648 |
/test-1.25-4.19 Job 'Cilium-PR-K8s-1.25-kernel-4.19' failed: Click to show.Test Name
Failure Output
If it is a flake and a GitHub issue doesn't already exist to track it, comment Edit: Hit #24648 again |
/test-1.26-net-next |
/test-1.25-4.19 Job 'Cilium-PR-K8s-1.25-kernel-4.19' failed: Click to show.Test Name
Failure Output
If it is a flake and a GitHub issue doesn't already exist to track it, comment |
Fixes: cilium#24068 1. Move CRD registration to a separate cell inside the client package, and add a `--skip-crd-creation` flag. 2. Remove the `SkipCRDOption` from the `operatorOption.OperatorConfig` struct, alongside any reference to it in `operator/cmd/fags.go`, `operator/option/config.go` and `pkg/option/config.go` 3. Update cmdref Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
060c348
to
b918d35
Compare
/test Edit: 5.4 hit #24573 |
/test-1.24-5.4 |
Fixes: #24068
/cc @pippolo84