Skip to content
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

Recreate stale OauthClient resource #716

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

VaishnaviHire
Copy link
Member

Fixes #712

Description

How Has This Been Tested?

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

Copy link
Member

@zdtsw zdtsw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

based on we have the code in downstream 2.4 already

Copy link

openshift-ci bot commented Nov 12, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: zdtsw
Once this PR has been reviewed and has the lgtm label, please ask for approval from vaishnavihire. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

openshift-ci bot commented Nov 13, 2023

New changes are detected. LGTM label has been removed.

@VaishnaviHire
Copy link
Member Author

/test opendatahub-operator-e2e

1 similar comment
@VaishnaviHire
Copy link
Member Author

/test opendatahub-operator-e2e

@zdtsw
Copy link
Member

zdtsw commented Nov 14, 2023

/retest

@zdtsw
Copy link
Member

zdtsw commented Nov 14, 2023

strange error from yesterday: Account with ID 2DUeKzzTD9ngfsQ6YgkzdJn1jA4 denied access to perform create on Certificate with HTTP call POST /api/accounts_mgmt/v1/certificates"}

@zdtsw zdtsw merged commit 8dd0139 into opendatahub-io:incubation Nov 14, 2023
6 of 7 checks passed
VaishnaviHire added a commit to VaishnaviHire/opendatahub-operator that referenced this pull request Nov 15, 2023
* Patch stale OauthClient resource

* Fix DSCI Patch

(cherry picked from commit 8dd0139)
@@ -73,7 +75,8 @@ func (d *Dashboard) GetComponentName() string {
// Verifies that Dashboard implements ComponentInterface.
var _ components.ComponentInterface = (*Dashboard)(nil)

func (d *Dashboard) ReconcileComponent(cli client.Client, owner metav1.Object, dscispec *dsciv1.DSCInitializationSpec) error {
//nolint:gocyclo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VaishnaviHire @zdtsw as I am merging 605 with incubation I came across this change and I am wondering what was the rationale behind disabling gocyclo linter in this particular case.

These tools play a crucial role in ensuring our code remains straightforward and accessible, especially for those who might be revisiting it after some time or are new to the codebase.

My concern is that bypassing these checks could lead to potential challenges in maintaining the project in the long run. I'm quite curious to understand the reasoning behind explicitly disabling this check. Was there a specific obstacle that prevented simplifying the code to comply with the linter? Maybe we can figure out together how to make this code simpler and benefit from linter complaints instead of keeping them silent? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Bug]: 500 error when trying to log in to dashboard
3 participants