Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-31521

Gateway API gateway is allowed to request same wildcard hostname as ingress controller apps domain

XMLWordPrintable

    • Moderate
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      If you set up a Gateway with a wildcard hostname the same as the wildcard app domain, and then delete that Gateway, you delete the wildcard record for the cluster.

      Version-Release number of selected component (if applicable):

      4.16

      How reproducible:

      Every time

      Steps to Reproduce:

          1. Run the TestGatewayAPI e2e test to completion, or
          2. Create a gatewayclass
          3. Create a gateway with hostname the same as the ingress controller apps domain (*.apps.xxx.yyy)
          4. Delete the gateway
          

      Actual results:

        When  you delete the gateway it deletes the upstream DNS record for the ingress controller.  Console, OAuth, and Canary routes will fail.

      Expected results:

          No one should be allowed to create a gateway with the same hostname as the ingress controller apps domain.

      Additional info:

          

            cholman@redhat.com Candace Holman
            cholman@redhat.com Candace Holman
            Hongan Li Hongan Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: