-
Notifications
You must be signed in to change notification settings - Fork 222
Bug 2041616: Do not create DNS records for IngressControllers with domain not matching baseDomain #761
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
Conversation
|
Skipping CI for Draft Pull Request. |
7a0de42 to
4de3979
Compare
|
@suleymanakbas91: This pull request references Bugzilla bug 2041616, which is invalid:
Comment 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. |
|
/bugzilla refresh |
|
@suleymanakbas91: This pull request references Bugzilla bug 2041616, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 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 kubernetes/test-infra repository. |
|
@suleymanakbas91: This pull request references Bugzilla bug 2041616, which is valid. 3 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 kubernetes/test-infra repository. |
59b2685 to
5a9c6f4
Compare
5a9c6f4 to
6cc2a96
Compare
6cc2a96 to
8d196a7
Compare
|
/test verify |
|
@suleymanakbas91, the verify job is now failing since #756 merged. It looks like the new E2E test can run in parallel with other tests, so it should call |
e4a3ed3 to
5883a5f
Compare
|
/label tide/merge-method-squash |
|
/retest |
|
/test e2e-aws-operator |
a5d8fe1 to
b3f40de
Compare
b3f40de to
439d0cd
Compare
439d0cd to
6d573db
Compare
…t match the baseDomain of the cluster DNS config
6d573db to
0f5f96e
Compare
|
/retest |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Miciah, suleymanakbas91 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 |
|
@suleymanakbas91: The following test 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. |
|
@suleymanakbas91: All pull requests linked via external trackers have merged: Bugzilla bug 2041616 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. |
…t match the baseDomain of the cluster DNS config (openshift#761)
This change implements a check for ingresscontrollers with a spec.domain that does not match the spec.baseDomain of the cluster DNS config. As a result of this check, operator does not create DNS records and sets
DNSManagedcondition toFalsefor the respective ingresscontroller.pkg/operator/controller/ingress/controller.go:platformStatuswas being calculated in many different functions before. With this change, it is only calculated once in controller.go and passed to the other functions as an argument. It also usesmanageDNSForDomainfunction while admitting the ingresscontroller to emit a warning event.pkg/operator/controller/ingress/controller_test.go: This updates the tests to useplatformStatusinstead ofinfraConfig.pkg/operator/controller/ingress/deployment.go:platformStatuscalculation moved to controller.go.pkg/operator/controller/ingress/dns.go: This implements and usesmanageDNSForDomainfunction to skip creation of DNS records for ingresscontrollers having a domain not matching the baseDomain on AWS.pkg/operator/controller/ingress/dns_test.go: This introduces a unit test formanageDNSForDomainfunction.pkg/operator/controller/ingress/load_balancer_service.go:platformStatuscalculation moved to controller.go.pkg/operator/controller/ingress/status.go:platformStatuscalculation moved to controller.go. This also setsDNSManaged-Falseas a result ofmanageDNSForDomainfunction.test/e2e/domain_not_matching_base_test.go: This implements an e2e test to check if the operator skips creation of DNS records and setsDNSManaged=Falsefor ingresscontrollers having a domain not matching the baseDomain on AWS.