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

fix: add missing namespace for console in managed cluster #1552

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

zdtsw
Copy link
Member

@zdtsw zdtsw commented Jan 23, 2025

  • blackbox require this

Description

RHOAIENG-14787

How Has This Been Tested?

Screenshot or short clip

Merge criteria

  • You have read the contributors guide.
  • Commit messages are meaningful - have a clear and concise summary and detailed explanation of what was changed and why.
  • Pull Request contains a description of the solution, a link to the JIRA issue, and to any dependent or related Pull Request.
  • 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

@openshift-ci openshift-ci bot requested review from ugiordan and ykaliuta January 23, 2025 08:13
@zdtsw zdtsw requested review from lburgazzoli and MarianMacik and removed request for ykaliuta and ugiordan January 23, 2025 08:14
main.go Outdated
@@ -476,6 +476,7 @@ func getCommonCache(ctx context.Context, cli client.Client, platform cluster.Pla
if platform == cluster.ManagedRhoai {
namespaceConfigs["redhat-ods-monitoring"] = cache.Config{}
namespaceConfigs["redhat-ods-applications"] = cache.Config{}
namespaceConfigs["openshift-console"] = cache.Config{}
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe use the NamespaceConsoleLink constant

Copy link
Member Author

Choose a reason for hiding this comment

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

let me move it to const

- blackbox require this
- move into const in cluster pkg

Signed-off-by: Wen Zhou <[email protected]>
Copy link
Member

@MarianMacik MarianMacik left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link

codecov bot commented Jan 23, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 19.84%. Comparing base (5bcbaba) to head (33bfb3e).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
controllers/dscinitialization/monitoring.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1552   +/-   ##
=======================================
  Coverage   19.84%   19.84%           
=======================================
  Files         159      159           
  Lines       10794    10794           
=======================================
  Hits         2142     2142           
  Misses       8424     8424           
  Partials      228      228           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zdtsw zdtsw requested a review from lburgazzoli January 23, 2025 10:47
Copy link

openshift-ci bot commented Jan 23, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lburgazzoli

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@zdtsw zdtsw merged commit 28d0fa1 into opendatahub-io:main Jan 23, 2025
10 checks passed
zdtsw added a commit to zdtsw-forking/opendatahub-operator that referenced this pull request Jan 23, 2025
…b-io#1552)

- blackbox require this
- move into const in cluster pkg

Signed-off-by: Wen Zhou <[email protected]>
(cherry picked from commit 28d0fa1)
zdtsw added a commit to zdtsw-forking/opendatahub-operator that referenced this pull request Jan 23, 2025
…b-io#1552)

- blackbox require this
- move into const in cluster pkg

Signed-off-by: Wen Zhou <[email protected]>
(cherry picked from commit 28d0fa1)
openshift-merge-bot bot pushed a commit that referenced this pull request Jan 23, 2025
)

- blackbox require this
- move into const in cluster pkg

Signed-off-by: Wen Zhou <[email protected]>
(cherry picked from commit 28d0fa1)
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.

3 participants