Add an upgrade test to verify the migration to AllowedSourceRanges#27458
Add an upgrade test to verify the migration to AllowedSourceRanges#27458suleymanakbas91 wants to merge 1 commit intoopenshift:masterfrom
Conversation
|
Skipping CI for Draft Pull Request. |
15a1914 to
b7871e6
Compare
df39e57 to
aa24358
Compare
|
/test all |
aa24358 to
e9ee061
Compare
|
/test e2e-aws-upgrade |
2 similar comments
|
/test e2e-aws-upgrade |
|
/test e2e-aws-upgrade |
e9ee061 to
b08106c
Compare
|
/test e2e-aws-upgrade |
|
/test e2e-gcp-ovn-upgrade |
b08106c to
a1694dc
Compare
|
/test e2e-aws-upgrade |
1 similar comment
|
/test e2e-aws-upgrade |
a1694dc to
5c9050b
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: suleymanakbas91 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
aef86b8 to
159d311
Compare
|
/test all |
|
/test e2e-aws-upgrade |
159d311 to
e224907
Compare
|
/test all |
|
/test e2e-aws-upgrade |
|
/retest |
1 similar comment
|
/retest |
e224907 to
26eb85e
Compare
26eb85e to
112827c
Compare
112827c to
7de1d3e
Compare
|
/test all |
|
/test e2e-aws-upgrade |
|
@suleymanakbas91: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
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. |
|
/retest |
|
@suleymanakbas91: The following tests failed, say
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. |
|
We don't need this anymore. |
This PR adds an upgrade test to verify the migration from the
service.beta.kubernetes.io/load-balancer-source-rangesannotation usage to the newAllowedSourceRangesAPI.Epic: https://issues.redhat.com/browse/NE-555
EP: openshift/enhancements#1177
API: openshift/api#1222
test/e2e/upgrade/ingress/ingress.go: ImplementsTest interface that includes the following steps:
Setup, create an IngressController that requests an LB, and set theservice.beta.kubernetes.io/load-balancer-source-rangesannotation on the resulting LoadBalancer-type service.Test, periodically check the service to verify that nothing updates the annotation or theSpec.LoadBalancerSourceRangesfield on the service during the upgrade.Test, verify again when the upgrade is done that nothing has updated the annotation orSpec.LoadBalancerSourceRanges, and verify that the operator has setProgressing=TrueandEvaluationConditionsDetected=True.AllowedSourceRanges, verify if LoadBalancerSourceRanges is set accordingly, and the annotation is removed. Finally, verify that the operator has setProgressing=FalseandEvaluationConditionsDetected=False.test/e2e/upgrade/upgrade.go: Adds the new upgrade test to the test suite.