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
OCM-6375 | fix: error out if cluster is enabled with external auth #1879
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1879 +/- ##
==========================================
- Coverage 21.82% 21.81% -0.01%
==========================================
Files 117 117
Lines 18921 18929 +8
==========================================
Hits 4129 4129
- Misses 14481 14489 +8
Partials 311 311 ☔ View full report in Codecov by Sentry. |
https://github.com/openshift/rosa/blob/master/cmd/describe/admin/cmd.go probably also this one should be checked |
@@ -58,8 +58,13 @@ func run(_ *cobra.Command, argv []string) { | |||
idpName := argv[0] | |||
|
|||
clusterKey := r.GetClusterKey() | |||
|
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.
Super-nit: since you probably have to address Andrea's comment so you might as well undo this change unless it's lint related.
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.
removed as sugessted
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
Signed-off-by: Maggie Chen <magchen@redhat.com> fix lint Signed-off-by: Maggie Chen <magchen@redhat.com> add describe case Signed-off-by: Maggie Chen <magchen@redhat.com>
@chenz4027: 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. |
@andreadecorte Added the validation for describe |
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
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chenz4027, mikeshng, robpblake 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 |
https://issues.redhat.com/browse/OCM-6375