-
Notifications
You must be signed in to change notification settings - Fork 222
[release-4.11] OCPBUGS-3560: Allow PROXY protocol for "Private" strategy #914
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
[release-4.11] OCPBUGS-3560: Allow PROXY protocol for "Private" strategy #914
Conversation
|
@Miciah: No Bugzilla bug is referenced in the title of this pull request. 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/test-infra repository. |
|
@Miciah: This pull request references Jira Issue OCPBUGS-3560, which is valid. The bug has been moved to the POST state. 6 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. 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/test-infra repository. |
|
@Miciah: No Bugzilla bug is referenced in the title of this pull request. Retaining the bugzilla/valid-bug label as it was manually added. 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/test-infra repository. |
|
/assign @gcs278 |
|
From QE side, tested it with 4.11.0-0.ci.test-2023-04-27-005005-ci-ln-hbmijl2-latest
/label qe-approved |
pkg/manifests/bindata.go
Outdated
| // img/ | ||
| // a.png | ||
| // b.png | ||
| // |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is why ci/prow/verify is failing. It was spaces and now is indents. Is this a go version issue as you mentioned here: #869 (comment)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ba9df6b to
be7ae90
Compare
|
I'm the only reviewer so |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gcs278 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 |
Bump to github.com/openshift/api@398424d53f7473dcc8be52f78692d2bea9b46b2d to get the "Protocol" field in the "Private" endpoint publishing strategy parameters to allow configuring PROXY protocol. * go.mod: Update. * go.sum: * manifests/00-custom-resource-definition.yaml: * pkg/manifests/bindata.go: * vendor/github.com/openshift/api/*: * vendor/modules.txt: Regenerate.
Allow the user to configure an IngressController with the "Private" endpoint publishing strategy type to use PROXY protocol. This commit fixes bug 2104481. https://bugzilla.redhat.com/show_bug.cgi?id=2104481 * pkg/operator/controller/ingress/controller.go (setDefaultPublishingStrategy): Check whether the user specified the protocol on the "Private" endpoint publishing strategy parameters, and update status as necessary. (IsProxyProtocolNeeded): Check whether the user specified the protocol on the "Private" endpoint publishing strategy parameters. * pkg/operator/controller/ingress/controller_test.go (TestSetDefaultPublishingStrategyHandlesUpdates) (TestIsProxyProtocolNeeded): Add test cases for the "Private" endpoint publishing strategy.
be7ae90 to
2fc2f3b
Compare
|
verify failed because I had neglected to |
|
e2e-aws-operator failed because From It looks like nodes are getting rebooted while the tests are running, which could explain why the "samehost" router pod was deleted and couldn't be rescheduled: I wouldn't expect nodes to reboot during E2E tests, but anyway, it doesn't look like a problem with cluster-ingress-operator or with the test itself. |
|
e2e-aws-operator failed because the kube-apiserver, kube-controller-manager, kube-scheduler, and network clusteroperators failed to roll out updates. |
|
/lgtm |
|
e2e-aws-operator failed because many clusteroperators failed to roll out all their pods. |
|
@Miciah: 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/test-infra repository. I understand the commands that are listed here. |
|
/label backport-risk-assessed |
|
/label cherry-pick-approved |
|
@Miciah: Jira Issue OCPBUGS-3560: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-3560 has been moved to the MODIFIED state. 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/test-infra repository. |
|
[ART PR BUILD NOTIFIER] This PR has been included in build ose-cluster-ingress-operator-container-v4.11.0-202305040215.p0.gce29f22.assembly.stream for distgit ose-cluster-ingress-operator. |
|
Fix included in accepted release 4.11.0-0.nightly-2023-05-04-100517 |
This is a manual cherry-pick of #803. The changes include an openshift/api bump.
Bump openshift/api for PROXY protocol for Private
Bump to github.com/openshift/api@398424d53f7473dcc8be52f78692d2bea9b46b2d to get the "Protocol" field in the "Private" endpoint publishing strategy parameters to allow configuring PROXY protocol.
go.mod: Update.go.sum:manifests/00-custom-resource-definition.yaml:pkg/manifests/bindata.go:vendor/github.com/openshift/api/*:vendor/modules.txt: Regenerate.Allow PROXY protocol for "Private" strategy
Allow the user to configure an IngressController with the "Private" endpoint publishing strategy type to use PROXY protocol.
pkg/operator/controller/ingress/controller.go(setDefaultPublishingStrategy): Check whether the user specified the protocol on the "Private" endpoint publishing strategy parameters, and update status as necessary.(
IsProxyProtocolNeeded): Check whether the user specified the protocol on the "Private" endpoint publishing strategy parameters.pkg/operator/controller/ingress/controller_test.go(TestSetDefaultPublishingStrategyHandlesUpdates,TestIsProxyProtocolNeeded): Add test cases for the "Private" endpoint publishing strategy.