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
OCPBUGS-29701: Use selfsubjectreview API from frontend #13605
OCPBUGS-29701: Use selfsubjectreview API from frontend #13605
Conversation
/hold |
0be16cb
to
653b00b
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.
The golang code and the TS code that I wrote and Jakub fixed looks good to me. The last commit should probably be split and applied to the commits before it.
The rest of the TS I don't understand 🙂
frontend/packages/console-dynamic-plugin-sdk/src/app/configSetup.ts
Outdated
Show resolved
Hide resolved
frontend/packages/webterminal-plugin/src/components/cloud-shell/useCloudShellWorkspace.ts
Outdated
Show resolved
Hide resolved
@@ -319,6 +320,15 @@ | |||
} | |||
}, | |||
|
|||
{ |
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.
is this piece necessary?
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.
it is, we needed to remove the oauth details page so it only part of console the the oauth api is installed on the cluster.
/hold cancel |
653b00b
to
83bf89a
Compare
frontend/packages/console-dynamic-plugin-sdk/src/app/core/reducers/coreSelectors.ts
Outdated
Show resolved
Hide resolved
frontend/packages/console-app/src/components/oauth-config/IdentityProviders.tsx
Outdated
Show resolved
Hide resolved
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
/lgtm cancel Looks like there's probably some lint issues |
c5edd15
to
971baab
Compare
/hold Revision f962f00 was retested 3 times: holding |
|
f962f00
to
6e4b161
Compare
6e4b161
to
ce45035
Compare
/hold cancel |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jhadvig, stlaz, TheRealJon 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 |
/hold Revision ce45035 was retested 3 times: holding |
/retest |
/hold cancel |
/cherry-pick release-4.15 |
@jhadvig: once the present PR merges, I will cherry-pick it on top of release-4.15 in a new PR and assign it to you. 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. |
@jhadvig: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
@jhadvig: Jira Issue OCPBUGS-29701: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-29701 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 openshift-eng/jira-lifecycle-plugin repository. |
@jhadvig: #13605 failed to apply on top of branch "release-4.15":
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. |
[ART PR BUILD NOTIFIER] This PR has been included in build openshift-enterprise-console-container-v4.16.0-202402261210.p0.gb86f733.assembly.stream.el8 for distgit openshift-enterprise-console. |
Fix included in accepted release 4.16.0-0.nightly-2024-02-29-062601 |
We should be be using k8s native
UserInfo
type for the userm which will be returned by theSelfSubjectReview
POST call./assign @jhadvig @TheRealJon