Revert "SPIRE-526: Remove "OpenShift Container Platform" from valid-subscription annotation in CSV"#134
Conversation
…ubscription annotation in CSV"
|
@rausingh-rh: This pull request references SPIRE-526 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. 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. |
WalkthroughThe pull request expands OpenShift subscription support by updating the ChangesOpenShift Subscription Support Expansion
🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/cherrypick release-1.1 |
|
@rausingh-rh: once the present PR merges, I will cherry-pick it on top of 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 kubernetes-sigs/prow repository. |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
bundle/manifests/zero-trust-workload-identity-manager.clusterserviceversion.yaml (1)
747-750:⚠️ Potential issue | 🟠 Major | ⚡ Quick winAdd resource limits to container specification.
The container defines resource requests but is missing resource limits for CPU and memory. As per coding guidelines, resource limits must be defined on every container in Kubernetes manifests to prevent resource exhaustion and ensure predictable scheduling behavior.
🛡️ Proposed fix to add resource limits
resources: requests: cpu: 100m memory: 256Mi + limits: + cpu: 500m + memory: 512Mi🤖 Prompt for 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. In `@bundle/manifests/zero-trust-workload-identity-manager.clusterserviceversion.yaml` around lines 747 - 750, Add a resources.limits block to the same container specification that currently has resources.requests so CPU and memory limits are enforced; specifically add resources.limits.cpu and resources.limits.memory (values should be >= the current requests, e.g., cpu: 200m and memory: 512Mi or whatever your policy requires) alongside the existing resources.requests entries to satisfy the manifest guideline.Source: Coding guidelines
🤖 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.
Outside diff comments:
In
`@bundle/manifests/zero-trust-workload-identity-manager.clusterserviceversion.yaml`:
- Around line 747-750: Add a resources.limits block to the same container
specification that currently has resources.requests so CPU and memory limits are
enforced; specifically add resources.limits.cpu and resources.limits.memory
(values should be >= the current requests, e.g., cpu: 200m and memory: 512Mi or
whatever your policy requires) alongside the existing resources.requests entries
to satisfy the manifest guideline.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 63d5418f-21d2-4115-91ff-6a33afefc40d
📒 Files selected for processing (2)
bundle/manifests/zero-trust-workload-identity-manager.clusterserviceversion.yamlconfig/manifests/bases/zero-trust-workload-identity-manager.clusterserviceversion.yaml
|
@rausingh-rh: 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. |
nhegde07
left a comment
There was a problem hiding this comment.
looks good.
Do we need to run any pre merge testing for the same? @rausingh-rh ?
/lgtm
/hold
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nhegde07, rausingh-rh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
I think we need to cherry-pick this in release-1.0.0 as well. CC: @nhegde07, @TrilokGeer |
|
/cherrypick release-1.0.0 If not required we would close it later. |
|
@PillaiManish: once the present PR merges, I will cherry-pick it on top of 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 kubernetes-sigs/prow repository. |
|
/verified by qe |
|
@sayak-redhat: This PR has been marked as verified by 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. |
|
/unhold |
|
@rausingh-rh: new pull request created: #135 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 kubernetes-sigs/prow repository. |
|
@PillaiManish: new pull request created: #136 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 kubernetes-sigs/prow repository. |
|
tracking ticket: https://redhat.atlassian.net/browse/SPIRE-569 |
Reverts #107
Summary by CodeRabbit