-
Notifications
You must be signed in to change notification settings - Fork 442
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
Consolidate the katib-cert-generator to the katib-controller #2185
Consolidate the katib-cert-generator to the katib-controller #2185
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
3b1d5a3
to
3dbf928
Compare
3dbf928
to
fe9fb4d
Compare
5040d0a
to
622ec24
Compare
cmd/katib-controller/v1beta1/main.go
Outdated
if err := mgr.AddHealthzCheck("healthz", healthz.Ping); err != nil { | ||
log.Error(err, "Unable to add healthz endpoint to the manager") | ||
os.Exit(1) | ||
} |
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.
I removed this health check since this is duplicated with L154-L157.
if err = mgr.AddHealthzCheck("healthz", hookServer.StartedChecker()); err != nil {
log.Error(err, "Add webhook server health checker to the manager failed")
os.Exit(1)
}
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.
Thank you for this great contribution @tenzen-y!
Please can you rebase your PR so I can review it this week.
Sure. |
I will rebase this PR once #2176 is merged into the |
83ec74e
to
ed91adb
Compare
@andreyvelich This PR is ready for review. Please take a look. |
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.
Thank you for this great improvement @tenzen-y!
I left a few initial comments.
Signed-off-by: Yuki Iwai <[email protected]>
Signed-off-by: Yuki Iwai <[email protected]>
Signed-off-by: Yuki Iwai <[email protected]>
Signed-off-by: Yuki Iwai <[email protected]>
Signed-off-by: Yuki Iwai <[email protected]>
…ServiceName or webhookSecretName is set Signed-off-by: Yuki Iwai <[email protected]>
Signed-off-by: Yuki Iwai <[email protected]>
Signed-off-by: Yuki Iwai <[email protected]>
Signed-off-by: Yuki Iwai <[email protected]>
Signed-off-by: Yuki Iwai <[email protected]>
Signed-off-by: Yuki Iwai <[email protected]>
5e349fe
to
7ef511f
Compare
Rebased. |
Signed-off-by: Yuki Iwai <[email protected]>
7a75a70
to
ee9bff1
Compare
/lgtm |
/hold cancel |
Thanks, everyone! |
Remove this ROCK since upstream has consolidated it into the katib-controller. Ref kubeflow/katib/pull/2185
… 1.8 (#33) Bumped all ROCKs with following exceptions: - `cert-generator` ROCK is completely removed since corresponding component was consolidated into `katib-controller` component. See kubeflow/katib#2185 - `katib-ui-rock` needs to be rewritten since it is now based on wrong Dockerfile. Thus, no changes were introduced in this ROCK. See #32 - `katib-db-manager`: Diverged from upstream by keeping binary for GRPC health checks
What this PR does / why we need it:
I modified the katib-controller and removed the katib-cert-generator to consolidate the katib-cert-generator to the katib-controller.
By this PR, katib is started in the following steps:
certsReady
channel is closed)In the katib-controller, I mainly worked on the below tasks:
katib/pkg/cert-generator/v1beta1/generator.go
Lines 50 to 87 in 3fe9369
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #2149
/hold
Blocked on #2176
Checklist: