-
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
allow for pvc to be added to multiple workbenches #3231
allow for pvc to be added to multiple workbenches #3231
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3231 +/- ##
==========================================
- Coverage 85.50% 84.91% -0.59%
==========================================
Files 1280 1287 +7
Lines 28229 28525 +296
Branches 7558 7638 +80
==========================================
+ Hits 24136 24221 +85
- Misses 4093 4304 +211
... and 29 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
/retest |
fix: Fix issue with adding cluster storage in tests fix roles added test
46ca23c
to
9ac1d95
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.
Looks good to me -- I have not tested it nor reviewed all the code.
One comment about permissions.
- get | ||
- list |
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.
Get & List should not be needed -- everyone on the cluster should be able to get/list them, right?
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.
can they? i will have to test this next week.
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.
updated
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.
You have a bug where you're stopping them from any connection path that starts with a prexisting connection path
PVC1 - /data
PVC2 - /data2 ERROR << This should not error
@@ -32,13 +32,13 @@ const ConnectedNotebookNames: React.FC<ConnectedNotebookNamesProps> = ({ | |||
} | |||
|
|||
return ( | |||
<List isPlain> | |||
<LabelGroup isCompact> |
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 tested on the PF website, not sure if the doc is outdated, but I am pretty sure there is no need to add isCompact
on LabelGroup
. There is no hurt to add it though, just a small nit.
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 code and tested, other than the comment I left above it lgtm.
/lgtm
EDIT: Sorry I missed the review from Andrew... After that bug is addressed I will add the label back.
@andrewballantyne Should the bug you mentioned above be fixed in my ticket? RHOAIENG-7680 It's all about the validation of the storage path, I will post a PR later this afternoon. |
/lgtm |
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: DaoDaoNoCode, Gkrumbach07 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 |
* allow for pvc to be added to multiple workbenches (#3231) * allow for pvc to be added to multiple workbenches fix: Fix issue with adding cluster storage in tests fix roles added test * fix lint * fix removabale notebooks logic * fixed perms and iscompact * v2.26.2-odh-release Signed-off-by: Mike Turley <[email protected]> --------- Signed-off-by: Mike Turley <[email protected]> Co-authored-by: Gage Krumbach <[email protected]>
https://issues.redhat.com/browse/RHOAIENG-12803
Description
This PR implements the functionality to allow a PVC to be added to multiple workbenches. The changes include:
I also updated some storage class logic and manifests
Untitled.mov
How Has This Been Tested?
Test Impact
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main