cloud-provider-openstack icon indicating copy to clipboard operation
cloud-provider-openstack copied to clipboard

[occm] LoadBalancer ProxyProtocol v2 feature

Open Lucasgranet opened this issue 1 year ago • 2 comments

What this PR does / why we need it: The PR brings the ability of choosing the ProxProtocol in version 2 (instead of v1).

Two new values are supported for loadbalancer.openstack.org/proxy-protocol

loadbalancer.openstack.org/proxy-protocol: "true" # Enable ProxyProtocolv1
loadbalancer.openstack.org/proxy-protocol: "false" # Default value, no proxy protocol enable 
loadbalancer.openstack.org/proxy-protocol: "v1" # NEW - Enable ProxyProtocolv1
loadbalancer.openstack.org/proxy-protocol: "v2" # NEW - Enable ProxyProtocolv2

Which issue this PR fixes(if applicable): fixes #2585

Special notes for reviewers: N/A

Release note:

[openstack-cloud-controller-manager] Support LoadBalancer ProxyProtocol v2 feature

Lucasgranet avatar Aug 27 '24 09:08 Lucasgranet

Hi @Lucasgranet. Thanks for your PR.

I'm waiting for a kubernetes 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.

k8s-ci-robot avatar Aug 27 '24 09:08 k8s-ci-robot

/ok-to-test

zetaab avatar Sep 02 '24 05:09 zetaab

@zetaab I'm not sure but E2E's failures seem not related to my PR.

Can you have a look please?

Lucasgranet avatar Sep 02 '24 08:09 Lucasgranet

/test openstack-cloud-controller-manager-e2e-test /test openstack-cloud-controller-manager-ovn-e2e-test

zetaab avatar Sep 02 '24 09:09 zetaab

@Lucasgranet can you rebase this pr against master? Master contain fixes for the e2e tests

zetaab avatar Sep 02 '24 11:09 zetaab

/retest

Lucasgranet avatar Sep 02 '24 12:09 Lucasgranet

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zetaab

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

The pull request process is described 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

k8s-ci-robot avatar Sep 02 '24 12:09 k8s-ci-robot

loadbalancer.openstack.org/proxy-protocol: "true" # Enable ProxyProtocolv1

from this comment I think default is still v1, correct ?

jichenjc avatar Sep 03 '24 07:09 jichenjc

/lgtm

jichenjc avatar Sep 03 '24 07:09 jichenjc

/lgtm

zetaab avatar Sep 03 '24 09:09 zetaab