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 matchlabel on NWP for customized appliation #1566

Merged

Conversation

zdtsw
Copy link
Member

@zdtsw zdtsw commented Jan 26, 2025

  • update README and troubleshooting

Description

https://issues.redhat.com/browse/RHOAIENG-18607?focusedId=26467211&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-26467211

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 grdryn and ugiordan January 26, 2025 17:09
- update README and troubleshooting

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

codecov bot commented Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 19.92%. Comparing base (eb42450) to head (f69493d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1566      +/-   ##
==========================================
+ Coverage   19.84%   19.92%   +0.08%     
==========================================
  Files         159      159              
  Lines       10794    10805      +11     
==========================================
+ Hits         2142     2153      +11     
  Misses       8424     8424              
  Partials      228      228              

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


To upgrade, follow these steps:

- Disable the component(s) in your DSC instance.
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to deactivate the components, or does deleting the DSC do the same thing?

Copy link
Member Author

Choose a reason for hiding this comment

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

this is an old upgrade case since we have changes in 2.0/2.1 to 2.4 GA version.
most of the current user should not encounter this, unless they have been on 2.0/2.1 for 1.5yrs?
maybe we can revisit these documents and clean up some later

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds good, we can revisit and clean them up later.

Copy link

openshift-ci bot commented Jan 27, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ugiordan

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

@openshift-merge-bot openshift-merge-bot bot merged commit a00aa61 into opendatahub-io:main Jan 27, 2025
10 checks passed
Here we use namespace A for example as targeted application namespace, please follow below steps before install ODH operator:

- create namespace A
- add label `opendatahub.io/application-namespace: true` onto namespace A. Only one namespace in the cluster can have this label.
Copy link
Member Author

Choose a reason for hiding this comment

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

feel free to use suggestion for code review next time.
i can get that change committed if it is needed. now seems a bit too late :D

@zdtsw
Copy link
Member Author

zdtsw commented Jan 27, 2025

@shalberd FYI

@shalberd
Copy link

thank you very much

@@ -233,6 +233,17 @@ func (r *DSCInitializationReconciler) reconcileDefaultNetworkPolicy(
},
},
},
{ // OR logic to minic customized application namespace
Copy link

@shalberd shalberd Jan 27, 2025

Choose a reason for hiding this comment

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

logical or, either traffic within 2generated" labeled namespace or namespace that has the application namespace label.
Nice, thank you.

zdtsw added a commit to zdtsw-forking/opendatahub-operator that referenced this pull request Jan 27, 2025
…1566)

- update README and troubleshooting

Signed-off-by: Wen Zhou <[email protected]>
(cherry picked from commit a00aa61)
zdtsw added a commit to zdtsw-forking/opendatahub-operator that referenced this pull request Jan 27, 2025
…1566)

- update README and troubleshooting

Signed-off-by: Wen Zhou <[email protected]>
(cherry picked from commit a00aa61)
Signed-off-by: Wen Zhou <[email protected]>
openshift-merge-bot bot pushed a commit that referenced this pull request Jan 27, 2025
- update README and troubleshooting


(cherry picked from commit a00aa61)

Signed-off-by: Wen Zhou <[email protected]>
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