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

provider-server: inform storage-client to enforce host NW on CSI #2884

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rohan47
Copy link
Contributor

@rohan47 rohan47 commented Nov 8, 2024

when using a dedicated network for ocs, provider needs to inform storageclient to enforce host network for all csi pods

@rohan47 rohan47 marked this pull request as draft November 8, 2024 11:19
Copy link
Contributor

openshift-ci bot commented Nov 8, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

The full list of commands accepted by this bot can be found 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-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 8, 2024
Copy link
Contributor

openshift-ci bot commented Nov 8, 2024

Hi @rohan47. Thanks for your PR.

I'm waiting for a red-hat-storage member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@obnoxxx obnoxxx added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Nov 11, 2024
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 15, 2024
@openshift-merge-robot
Copy link
Contributor

PR needs rebase.

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.

return &pb.OnboardConsumerResponse{StorageConsumerUUID: storageConsumerUUID}, nil
enforceHostNWCSI := false
addressRanges := rookCephv1.AddressRangesSpec{}
if storageCluster.Spec.HostNetwork && storageCluster.Spec.Network.AddressRanges != &addressRanges {
Copy link
Contributor

Choose a reason for hiding this comment

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

why do you need to compare pointers here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

when using a dedicated network for ocs, provider needs to inform
storageclient to enforce host network for all csi pods

Signed-off-by: Rohan Gupta <[email protected]>
@openshift-ci openshift-ci bot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Nov 20, 2024
Copy link
Contributor

@ezio-auditore ezio-auditore left a comment

Choose a reason for hiding this comment

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

Please keep generated changes in seperate commit.

Copy link
Contributor

openshift-ci bot commented Nov 26, 2024

@ezio-auditore: changing LGTM is restricted to collaborators

In response to this:

Please keep generated changes in seperate commit.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants