OCPSTRAT-2690: PSA support for registry+v1 bundle format in OLMv1 #1957
OCPSTRAT-2690: PSA support for registry+v1 bundle format in OLMv1 #1957ankitathomas wants to merge 2 commits intoopenshift:masterfrom
Conversation
|
@ankitathomas: This pull request references OCPSTRAT-2690 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 feature to target the "4.22.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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
|
@ankitathomas: The following test failed, say
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. |
Review FeedbackThanks for this well-thought-out enhancement proposal! The approach of reusing the existing Overall Assessment ✅The design is solid, with good analysis of alternatives. A few areas to consider: 1. CLI/GitOps User Experience Improvement 💡The current proposal requires CLI/GitOps users to manually query FBC and extract the namespace template:
Observation: After reviewing the operator-controller codebase, I found that operator-controller already has full access to CSV annotations including Suggestion: Consider having operator-controller expose this information to improve CLI/GitOps UX, without necessarily having it apply the template. Options: Option A: Expose in ClusterExtension status status:
install:
bundle:
suggestedNamespaceTemplate:
labels:
pod-security.kubernetes.io/enforce: privileged
annotations:
openshift.io/node-selector: ""Option B: Add an # Example
oc adm olmv1 get-namespace-template <package-name> --version <version>This keeps operator-controller's scope focused (no namespace management responsibility) while significantly improving CLI/GitOps workflows. 2. PSA Downgrade Scenario
|
Adds enhancement for supporting Pod Security Admissions(PSA) requirements of registry+v1 bundles in OLMv1