-
Notifications
You must be signed in to change notification settings - Fork 706
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
Several fixes for operators #1602
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.
LGTM
@@ -49,6 +49,7 @@ describe("chartReducer", () => { | |||
...initialState.selected, | |||
error, | |||
}, | |||
}, |
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.
Hrm, I normally see the build process (react-scripts-ts build
) to catch syntactical issues like this? Ah, perhaps because that's doing a production build, it doesn't check test files? Just surprised that it got through.
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 so, I got the error trying to commit this, the pre-check that is done before commiting was failing so I guess it's an issue with react-scripts-ts
.
dashboard/src/shared/types.ts
Outdated
@@ -269,7 +273,7 @@ export interface IPackageManifest extends IResource { | |||
export interface IClusterServiceVersionCRDResource { | |||
kind: string; | |||
name: string; | |||
version: string; | |||
version?: string; |
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.
Why isn't this required for the 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.
actually it's required but it was not being used, re-added
Description of the change
I have tried with a different operator and found several issues:
backend
ref. I have adapted the AccessURLItem to cover that case.kind
property is not available when the resource is extracted from a list. UseselfLink
instead.status
and thespec
of an operator instance is missing sometimes. Don't show the related information in that case.This an example of those fixes for the jaeger operator:
Applicable issues