-
Notifications
You must be signed in to change notification settings - Fork 88
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
feat: accessible workspace healthz endpoint #1119
feat: accessible workspace healthz endpoint #1119
Conversation
/retest |
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 understand nothing in that area, so I just let other reviewers to review )
/retest |
3b3b7ef
to
0aa3229
Compare
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
Signed-off-by: Michal Vala <mvala@redhat.com>
ae668c2
to
6b747bf
Compare
reminder: if this is a blocker for 2.12 (https://issues.redhat.com/browse/CRW-2360), need this in the 7.36.x branch. |
# Conflicts: # controllers/devworkspace/solver/che_routing.go # controllers/devworkspace/solver/che_routing_test.go
/retest |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: metlos, sparkoo, tolusha The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What does this PR do?
Makes
/healthz
path of main workspace endpoint accessible from the outside. DevWorkspace Operator needs this to check whether workspace is alive.TODO:
Screenshot/screencast of this PR
What issues does this PR fix or reference?
eclipse-che/che#20481
How to test this PR?
latest image here -->
quay.io/mvala/che-operator:gh20481-workspaceHealthzEndpoint
kubectl get dw -n <user-namespace>
/healthz
and try to curl it. You should get 404 response. That is ok, because Theia does not actually implement that endpoint. In case this PR is not working, you would be redirected to openshift login page.<main-url>/healthz
must be accessible.PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.