-
Notifications
You must be signed in to change notification settings - Fork 151
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
fix: nbc not use correct image for downstream + cleanup downstream path #1226
fix: nbc not use correct image for downstream + cleanup downstream path #1226
Conversation
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.
Till i understand the code-base, this is reference to old path , that was maintained in the odh-manifests.
i believe it was correct: https://github.com/red-hat-data-services/odh-manifests/blob/master/jupyterhub/notebook-images/overlays/additional/kustomization.yaml
there is no folder: /jupyterhub/notebooks/base
is that a correct understanding or am i missing something ?
it is a little bit tricky this basically leads to for the RHOAI path it is point to jupyterhub/notebooks one thing might be easier to narrow these gaps: is there any difference in manifests structure still between ODH and RHOAI for workbenches (both notebook and nbc) |
- remove downstream speicific path which is not needed any more - remove duplicated call with deploy manifests for notebooks - move default wb NS in to const - fix comments Signed-off-by: Wen Zhou <wenzhou@redhat.com>
Ack, on the explanation. Currently the upstream and downstream. manifests are synced for both Notebook and NBC. |
I did some new changes this morning, |
I can't really talk about the path changes. The code logic having the manifest deployment after it is patched makes sense though. I also tested IIB on my cluster and tried to delete the operator pod as described in https://issues.redhat.com/browse/RHOAIENG-12409 and correct image for both notebook related deployments was used as expected, which is fine. |
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
thanks for the explanation
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: VaishnaviHire 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 |
a8525cd
into
opendatahub-io:incubation
Description
this is the problem when we have reconcile twice on odh-notebook-controller see https://issues.redhat.com/browse/RHOAIENG-12732
old: DeployManifestsFromPath on notebookControllerPath, then update params.env file.
new: update params.env file then do call DeployManifestsFromPath on notebookControllerPath
notebookImagesPathSupported
is removed (along with defaultKustomizePathSupported) , see downstream PRa similar PR in downstream red-hat-data-services#343, since it also need to change the path so i cannot just have sync to it.
with these two PRs, the code in ODH and downstream should be 100% the same for workbenches.
https://issues.redhat.com/browse/RHOAIENG-12732
How Has This Been Tested?
local build: quay.io/wenzhou/opendatahub-operator-catalog:v2.14.910-0
Screenshot or short clip
Merge criteria