-
Notifications
You must be signed in to change notification settings - Fork 179
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: fetching resources names from the Account CR #3535
feat: fetching resources names from the Account CR #3535
Conversation
Hi @olavtar. Thanks for your PR. I'm waiting for a opendatahub-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
9725193
to
c9d6db1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3535 +/- ##
==========================================
- Coverage 85.18% 85.14% -0.04%
==========================================
Files 1380 1382 +2
Lines 31542 31572 +30
Branches 8818 8824 +6
==========================================
+ Hits 26869 26883 +14
- Misses 4673 4689 +16
... and 6 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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.
frontend/src/pages/modelServing/screens/projects/NIMServiceModal/ManageNIMServingModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/modelServing/screens/projects/NIMServiceModal/ManageNIMServingModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/modelServing/screens/projects/NIMServiceModal/ManageNIMServingModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/modelServing/screens/projects/NIMServiceModal/ManageNIMServingModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/modelServing/screens/projects/NIMServiceModal/ManageNIMServingModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/modelServing/screens/projects/__tests__/utils.spec.ts
Outdated
Show resolved
Hide resolved
/ok-to-test |
frontend/src/pages/modelServing/screens/projects/useNIMAccountConstants.ts
Outdated
Show resolved
Hide resolved
/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.
I think you're missing something -- when you request for the secrets and configmaps from the api -- you're not going to work out if they are named differently in the Account CR.
const secretNames = ['nvidia-nim-access', 'nvidia-nim-image-pull'];
const configMapName = 'nvidia-nim-images-data';
This still exists.
I think we need to rewrite this endpoint to support a "type" (maybe the key in the .status
object) and pull the data from the CR itself. Not request it by name... as the name is dynamic now.
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.
Comments about passing dashboardNamespace
around.
frontend/src/pages/modelServing/screens/projects/NIMServiceModal/ManageNIMServingModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/modelServing/screens/projects/useNIMAccountConstants.ts
Outdated
Show resolved
Hide resolved
6f87937
to
06b1d17
Compare
/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.
Seems you have some left over code from an earlier iteration?
frontend/src/pages/modelServing/screens/projects/NIMServiceModal/NIMModelListSection.tsx
Outdated
Show resolved
Hide resolved
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewballantyne 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 |
/retest |
1 similar comment
/retest |
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
Signed-off-by: Olga Lavtar <[email protected]>
03f2bb3
to
94d0ba0
Compare
…ret to manageNIMSecret Signed-off-by: Olga Lavtar <[email protected]>
/lgtm |
https://issues.redhat.com/browse/NVPE-29
Description
Fetching resources names from the Account CR instead of using the static ones.
How Has This Been Tested?
It has been tested locally.
Test Impact
Checked to make sure that all 4 resources names are being pulled from the Account CR.
Unit test was added for the new function.
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main