Skip to content

OCPBUGS-61175: Let cluster-storage-operator to grant NetworkPolicies#6930

Draft
mpatlasov wants to merge 1 commit intoopenshift:mainfrom
mpatlasov:OCPBUGS-61175-NetworkPolicies-RBAC-for-cso-in-hostedcontrolplane
Draft

OCPBUGS-61175: Let cluster-storage-operator to grant NetworkPolicies#6930
mpatlasov wants to merge 1 commit intoopenshift:mainfrom
mpatlasov:OCPBUGS-61175-NetworkPolicies-RBAC-for-cso-in-hostedcontrolplane

Conversation

@mpatlasov
Copy link
Contributor

What this PR does / why we need it:

Manila csi driver controller pods reside in a custome namespace (openshift-manila-csi-driver). Hence, Manila csi driver operator must create NetworkPolicy for them expicitly. It is cluster-storage-operator who is legit to grant permissions for that to Manila csi driver operator. But to do it, cluster-storage-operator itself must have proper permissions.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 3, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 3, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 3, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mpatlasov mpatlasov changed the title Let cluster-storage-operator to grant NetworkPolicies OCPBUGS-61175: Let cluster-storage-operator to grant NetworkPolicies Oct 3, 2025
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Oct 3, 2025
@openshift-ci-robot
Copy link

@mpatlasov: This pull request references Jira Issue OCPBUGS-61175, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.21.0) matches configured target version for branch (4.21.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira (wduan@redhat.com), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

What this PR does / why we need it:

Manila csi driver controller pods reside in a custome namespace (openshift-manila-csi-driver). Hence, Manila csi driver operator must create NetworkPolicy for them expicitly. It is cluster-storage-operator who is legit to grant permissions for that to Manila csi driver operator. But to do it, cluster-storage-operator itself must have proper permissions.

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.

@openshift-ci openshift-ci bot added area/control-plane-operator Indicates the PR includes changes for the control plane operator - in an OCP release and removed do-not-merge/needs-area labels Oct 3, 2025
@mpatlasov
Copy link
Contributor Author

/test all

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 3, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mpatlasov
Once this PR has been reviewed and has the lgtm label, please assign enxebre for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details 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

@cwbotbot
Copy link

cwbotbot commented Oct 3, 2025

Test Results

e2e-aks

Failed Tests

Total failed tests: 16

  • TestAutoscaling
  • TestAutoscaling/ValidateHostedCluster
  • TestAzureScheduler
  • TestAzureScheduler/ValidateHostedCluster
  • TestCreateCluster

... and 11 more failed tests

e2e-aws

Failed Tests

Total failed tests: 22

  • TestAutoscaling
  • TestAutoscaling/ValidateHostedCluster
  • TestCreateCluster
  • TestCreateCluster/ValidateHostedCluster
  • TestCreateClusterCustomConfig

... and 17 more failed tests

@mpatlasov
Copy link
Contributor Author

/retest-required

@mpatlasov mpatlasov force-pushed the OCPBUGS-61175-NetworkPolicies-RBAC-for-cso-in-hostedcontrolplane branch from 691b297 to a9a15ba Compare October 4, 2025 00:28
@mpatlasov
Copy link
Contributor Author

/test all

…cies

Manila csi driver controller pods reside in a custome namespace (`openshift-manila-csi-driver`). Hence, Manila csi driver operator must
create NetworkPolicy for them expicitly. It is cluster-storage-operator who is legit to grant permissions for that to Manila csi driver
operator. But to do it, cluster-storage-operator itself must have proper permissions.
@mpatlasov mpatlasov force-pushed the OCPBUGS-61175-NetworkPolicies-RBAC-for-cso-in-hostedcontrolplane branch from a9a15ba to 122485a Compare October 6, 2025 01:52
@mpatlasov
Copy link
Contributor Author

/test all

@mpatlasov
Copy link
Contributor Author

/retest-required

1 similar comment
@mpatlasov
Copy link
Contributor Author

/retest-required

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 16, 2025

@mpatlasov: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/okd-scos-e2e-aws-ovn 122485a link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-kubevirt-aws-ovn-reduced 122485a link true /test e2e-kubevirt-aws-ovn-reduced
ci/prow/e2e-aws-upgrade-hypershift-operator 122485a link true /test e2e-aws-upgrade-hypershift-operator
ci/prow/e2e-aws 122485a link true /test e2e-aws
ci/prow/e2e-aks 122485a link true /test e2e-aks
ci/prow/e2e-aks-4-21 122485a link true /test e2e-aks-4-21

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/control-plane-operator Indicates the PR includes changes for the control plane operator - in an OCP release do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants