-
Notifications
You must be signed in to change notification settings - Fork 220
[release-4.13] OCPBUGS-34409: desiredRouterDeployment: Set HostPort if needed #1062
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.13] OCPBUGS-34409: desiredRouterDeployment: Set HostPort if needed #1062
Conversation
Set spec.template.spec.containers[*].ports[*].hostPort on a router deployment if the deployment sets spec.template.spec.hostNetwork to true. Before this commit, the operator left the hostPort field unspecified. As a result, the API set a default value for hostPort. The operator detected this as an external update and attempted to revert it. This commit prevents the operator from making these spurious updates in response to API defaulting. This commit fixes OCPBUGS-14995. https://issues.redhat.com/browse/OCPBUGS-14995 * pkg/operator/controller/ingress/deployment.go (desiredRouterDeployment): Set each container port's HostPort to the port's ContainerPort value when HostNetwork is enabled for the deployment. * pkg/operator/controller/ingress/deployment_test.go (checkContainerPort): Verify that HostPort is set to ContainerPort if HostNetwork is enabled.
|
@openshift-cherrypick-robot: Jira Issue OCPBUGS-14995 has been cloned as Jira Issue OCPBUGS-34409. Will retitle bug to link to clone. 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. |
|
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-34409, which is invalid:
Comment 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Exotic e2e-gcp-ovn failures:
/test e2e-gcp-ovn |
|
/jira refresh |
|
@lihongan: This pull request references Jira Issue OCPBUGS-34409, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
/retest-required |
|
/label qe-approved tested it with 4.13.0-0.ci.test-2024-05-27-090305-ci-ln-v60hbzb-latest |
|
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-34409, which is valid. 7 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
/label cherry-pick-approved |
|
/retest |
|
/assign @alebedev87 |
|
e2e tests should pass now that #1065 has merged. /test e2e-aws-operator |
|
Test failure in TestManagedDNSToUnmanagedDNSIngressController doesn't seem related to this change:
/test e2e-aws-operator |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: knobunc 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 |
|
/lgtm |
|
Investigating repeated issue in E2E for TestManagedDNSToUnmanagedDNSIngressController:
|
|
Need 2 others to merge first. |
|
/cancel hold |
|
/unhold |
|
@openshift-cherrypick-robot: 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-sigs/prow repository. I understand the commands that are listed here. |
|
@openshift-cherrypick-robot: Jira Issue OCPBUGS-34409: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-34409 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 openshift-eng/jira-lifecycle-plugin repository. |
|
[ART PR BUILD NOTIFIER] This PR has been included in build ose-cluster-ingress-operator-container-v4.13.0-202406010109.p0.g82aefc4.assembly.stream.el8 for distgit ose-cluster-ingress-operator. |
|
Fix included in accepted release 4.13.0-0.nightly-2024-06-01-031656 |
|
/cherry-pick release-4.12 |
|
@candita: new pull request created: #1076 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-sigs/prow repository. |
This is an automated cherry-pick of #947
/assign candita
/cherrypick release-4.12