-
Notifications
You must be signed in to change notification settings - Fork 659
Bug 2002133: add support/virtualization and improve deleteResource #10003
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
Bug 2002133: add support/virtualization and improve deleteResource #10003
Conversation
5c07eec
to
d64ac89
Compare
95e2d05
to
757ba44
Compare
@gouyang: This pull request references Bugzilla bug 2002133, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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/test-infra repository. |
@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: gouyang. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
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/test-infra repository. |
/retest |
757ba44
to
224f3f8
Compare
/retest |
1 similar comment
/retest |
@gouyang: This pull request references Bugzilla bug 2002133, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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/test-infra repository. |
@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: gouyang. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
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/test-infra repository. |
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.
Does this remove the PVC as well?
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.
yes, PVC is deleted along with DV.
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 know this isn't really a part of this PR, but could you please rename this to 'DEFAULT_VALUES'?
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.
Sure, will change the name.
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.
nitpick: K8SKIND
=> K8S_KINDS
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.
How about just use K8S_KIND
?
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.
That works! Both singular and plural names are used for enums throughout the codebase, but I think you're right that it should be singular.
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 thought we had a scenario where we'd get an error if we didn't pass false
for the ignore-not-found
flag? I didn't see any instances where we were passing false
, but I wanted to double check with you.
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.
yes, I removed the ignoreNotFound = true
in the parameters because there isn't any instance pass false
to this function.
If there is such scenario, let's add it back by then.
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 like this idea! My only concern is around naming. We're going to be adding the Virtualization Overview page soon and moving the VMs and Templates pages to their own dedicated pages instead of tabs, so this won't work anymore since there won't be an actual Virtualization page that defaults to the VMs list. What do you think about the following?
visitVirtualizationOverview
(when it's added)visitVMsList
visitVMTemplatesList
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.
visitVMsList
and visitVMTemplatesList
looks better, will change the name.
0fd5d48
to
bd13996
Compare
/retest |
50b43b7
to
8dcce7a
Compare
8dcce7a
to
2835476
Compare
/test e2e-gcp-console |
1 similar comment
/test e2e-gcp-console |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gouyang, pcbailey 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-required Please review the full test history for this PR and help us cut down flakes. |
@gouyang: All pull requests linked via external trackers have merged: Bugzilla bug 2002133 has been moved to the MODIFIED state. In response to this:
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/test-infra repository. |
Note for review: