-
Notifications
You must be signed in to change notification settings - Fork 667
Bug 1829504: Enable operator developer message to display in the uninstall operator modal... #4904
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 1829504: Enable operator developer message to display in the uninstall operator modal... #4904
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sg00dwin The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
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 dont think the ResourceKebob handles a third arg:
// kebab.tsx
actions.map((a) => a(kindObj, resource)),
| actions.map((a) => a(kindObj, resource)), |
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.
@benjaminapetersen Would that be the cause of this frontend test error?
TypeError: Cannot destructure property `clusterServiceVersions` of 'undefined' or 'null'.
at Array.Object.<anonymous>.menuActions (packages/operator-
lifecycle-manager/src/components/subscription.tsx:108:1)
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.
Yup, this:
(kind, obj, { clusterServiceVersions }) => {
says "I get kind, obj, and a 3rd arg that I'll pluck out clusterServiceVersion. but that 3rd object is never passed, so it is always null/undefined, and null never has null.clusterServiceVersion.
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.
Right, this won't work for the list view when fix #4916 merges.
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 you are wanting to pass the third property, then you need to update kebab.tsx to support it:
// you could update this, if you need to
actions.map((a) => a(kindObj, resource, csv)),
// but it looks like _.get(obj, 'status.installedCSV'); installedCSV is already part of obj, so you may not need this.
…odal when removing an installed operator subscription.
ba20681 to
4792beb
Compare
|
@sg00dwin: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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. I understand the commands that are listed here. |
|
@sg00dwin: This pull request references Bugzilla bug 1829504, which is invalid:
Comment DetailsIn 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. |
when removing an installed operator subscription from the subscription details page.