-
Notifications
You must be signed in to change notification settings - Fork 167
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
Remove JupyterHub dependencies #1211
Remove JupyterHub dependencies #1211
Conversation
/hold Might want to wait until https://github.com/opendatahub-io/odh-manifests/issues/805 is solved. |
/hold @DaoDaoNoCode are we gonna wait until we find the right text for the quickstart right? |
@lucferbux Yes, I will hold this PR until next release. |
@DaoDaoNoCode I think we can unhold this now, but it would need a rebase |
/unhold |
@lucferbux I think I still need to make some changes to the PR, looks like they don't want to remove the |
779db86
to
77bc703
Compare
77bc703
to
df9833b
Compare
2b7334d
to
de57c10
Compare
@lucferbux I have updated the PR and it's ready for review! |
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.
Check the logic, maybe you can install more resources to make it more explicit, I got all the resources we have for rhods in odh-manifest and isntalled all of them in opendatahub.
@@ -8,7 +8,7 @@ export const listComponents = async ( | |||
request: FastifyRequest, | |||
): Promise<OdhApplication[]> => { | |||
const applications = getApplications().filter( | |||
(component) => component.metadata.name !== (checkJupyterEnabled() ? 'jupyterhub' : 'jupyter'), | |||
(component) => !checkJupyterEnabled() && component.metadata.name !== 'jupyter', |
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.
Same with this check, we might want to filter jupyter IF notebook controller is not enable, this will make all the applications dissapear if you have notebook controller enabled
Ok, removing |
de57c10
to
1fd4d10
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.
Just a couple of nits
@@ -59,7 +61,10 @@ const AppRoutes: React.FC = () => { | |||
|
|||
<Route path="/projects/*" element={<ProjectViewRoutes />} /> | |||
|
|||
<Route path="/notebookController/*" element={<NotebookController />} /> | |||
{isJupyterEnabled && ( | |||
<Route path="/notebookController/*" element={<NotebookController />} /> |
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.
If we are hiding away /notebookController
, why aren't we hiding the workbenches
section in projects?
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.
The /notebookController
is only the Jupyter tile on the Enabled
page, it's nothing to do with the project workbenches, they are different features.
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.
mmmm so we don't have a way to hide workbenches right now in projects?
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 don't think we have a way to do that, we can only disable projects, but not the workbench section only.
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lucferbux 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 |
10ad0e6
into
opendatahub-io:f/notebook-controller
nice work, thank you all. @DaoDaoNoCode especially so the Jupyterhub-Tile disappears (even the Applications menu if no applications are in that section?) when notebookController.enabled is set to false. @lucferbux Out of curiosity: Does the applications menu disappear in the GUI when there are no Applications / OdhApplications present at all? |
Closes #534
Description
Remove dependencies related to JupyterHub, most of the YAML docs updates will be addressed in #1636
How Has This Been Tested?
jupyterhub
OdhApplication CRenabled
totrue
innotebookController
field in the dashboard config CRenabled
tofalse
innotebookController
field in the dashboard config CR, and wait for 2 minsJupyter
app card on the Enabled and Explore pageLaunch Jupyter
button is hidden on the data science projects tableTest Impact
N/A
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main