OCPBUGS-54790: Fix packageserver PDB annotation for HyperShift#1297
OCPBUGS-54790: Fix packageserver PDB annotation for HyperShift#1297dhgautam99 wants to merge 1 commit into
Conversation
|
@dhgautam99: This pull request references Jira Issue OCPBUGS-54790, which is valid. 3 validation(s) were run on this bug
The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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. |
WalkthroughRemove two OpenShift release include annotations ( ChangesPackageserver PDB annotation update
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dhgautam99 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@manifests/0000_50_olm_00-packageserver.pdb.yaml`:
- Around line 7-10: The manifest contains contradictory release gating
annotations for the same target: include.release.openshift.io/ibm-cloud-managed
and exclude.release.openshift.io/ibm-cloud-managed; remove one so only the
intended gate remains (if the intent is to exclude IBM-managed, delete the
include.release.openshift.io/ibm-cloud-managed annotation; if the intent is to
include IBM-managed, delete the exclude.release.openshift.io/ibm-cloud-managed
annotation) and keep capability.openshift.io/name and other unrelated
annotations unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 876af640-4948-497c-a0fa-9741e6e49dc6
📒 Files selected for processing (1)
manifests/0000_50_olm_00-packageserver.pdb.yaml
4fd931a to
276091d
Compare
|
/lgtm |
276091d to
6f1d1fe
Compare
| include.release.openshift.io/self-managed-high-availability: "true" | ||
| capability.openshift.io/name: "OperatorLifecycleManager" | ||
| include.release.openshift.io/hypershift: "true" | ||
| exclude.release.openshift.io/ibm-cloud-managed: "true" |
There was a problem hiding this comment.
discussed on slack, we just need to drop it so it won't be added openshift/enhancements#200 (comment)
Replace include.release.openshift.io/hypershift annotation with exclude.release.openshift.io/ibm-cloud-managed on the packageserver PDB so it is no longer deployed to HyperShift data planes where packageserver pods do not run. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6f1d1fe to
96bf609
Compare
|
/lgtm |
|
@dhgautam99: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
What this PR does / why we need it:
The packageserver PDB (
packageserver-pdb) in the data plane namespaceopenshift-operator-lifecycle-managerhas no matching pods because thepackageserver pods are deployed on the control plane in HyperShift.
This PR remove the
include.release.openshift.io/hypershift: "true"and
include.release.openshift.io/ibm-cloud-managed: "true"so the PDB is no longer deployed to HyperShift data planes where it
serves no purpose.
Which issue(s) this PR fixes:
Fixes https://redhat.atlassian.net/browse/OCPBUGS-54790
Special notes for your reviewer:
Single annotation change in
manifests/0000_50_olm_00-packageserver.pdb.yaml.Checklist:
Summary by CodeRabbit