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
adds support for apiServerSource #4810
adds support for apiServerSource #4810
Conversation
/kind feature |
f5240b7
to
925196b
Compare
@invincibleJai I am getting this error while trying to create an |
925196b
to
377bd1b
Compare
@divyanshiGupta yeah it's my bad should have given proper values for you can follow https://docs.google.com/document/d/1F4zECoLRvaUiigLaogbgYOiD_hB_w5hAtcXGY0MxVc4/edit |
9274fa9
to
e9da1cc
Compare
have updated mode to Dropdown as currently it just takes two values and defaults to |
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.
@invincibleJai typeahead is not working for service account name.
) | ||
.required('Required'), | ||
mode: yup.string().max(253, 'Cannot be longer than 253 characters.'), | ||
serviceAccountName: yup.string().max(253, 'Cannot be longer than 253 characters.'), |
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.
ServiceAccountName is a dropdown field. Do we still need this?
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.
Mode is also a dropdown field now. @invincibleJai I think the two validations can be removed.
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 removed both :)
@@ -60,7 +60,7 @@ const EventSinkServicesOverviewList: React.FC<EventSinkServicesOverviewListProps | |||
) : ( | |||
<span className="text-muted">No services found for this resource.</span> | |||
)} | |||
{pods?.length && <PodsOverview pods={pods} obj={obj} allPodsLink={linkUrl} />} | |||
{pods?.length > 0 && <PodsOverview pods={pods} obj={obj} allPodsLink={linkUrl} />} |
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 pods length is 0, don't we want to show empty msg? No pods found for this 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.
yeah some sources may not have Pods or associated deployments so had this check
597efb8
to
89b776b
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.
/lgtm
verified changes locally.
/lgtm cancel There need to be some changes in the Mode dropdown. @invincibleJai is looking into it |
89b776b
to
8c76f5f
Compare
Change was wrt mode value and it's |
Code looks good. Tested locally, was able to create ApiServerSource. |
/lgtm Mode dropdown changes works fine. Verified changes locally. |
General comment @invincibleJai - we will not have final text available for labels/help text at this time, so please don't worry about updating those now. We will have a follow up design story to work on that. |
8c76f5f
to
abfce24
Compare
698368a
to
04f0ec7
Compare
66b7dec
to
0b76e21
Compare
@spadgett @benjaminapetersen @christianvogt needed your help with review of 0b76e21 |
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
Verified changes locally.
@invincibleJai We should look to add StickyFooter for event sources form as well. Probably need to confirm with UX and can be done in a separate PR.
0b76e21
to
732a1df
Compare
@sahil143 have added |
732a1df
to
7f54810
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.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt, divyanshiGupta, invincibleJai, sahil143 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 |
Fixes:
https://issues.redhat.com/browse/ODC-2660
Analysis / Root cause:
User can't create ApiServerSource via web console
Solution Description:
Adds support for ApiServerSource via web console
Screen shots / Gifs for design review:
Unit test coverage report:
Browser conformance:
cc @serenamarie125