Kong/kubernetes-ingress-controller

Use `kong` namespace in integration tests

czeslavo opened this issue · 1 comments

Is there an existing issue for this?

  • I have searched the existing issues

Problem Statement

As our manifests use kong as a namespace, that would make sense to use the same one in our integration tests to not introduce unnecessary noise. Currently, integration tests use kong-system namespace which proved to be problematic for RBACs installation to work as expected in #4376.

Proposed Solution

  • Change ControllerNamespace to kong
  • Adapt any breaking tests to the change
  • Clean up code responsible for installing RBACs explicitly into kong namespace (as added in #4376)

Additional information

No response

Acceptance Criteria

  • kong namespace is used in integration tests instead of kong-system

Kong gateway is installed by kong.Builder in KTF addons, but the builder has fixed namespace kong-system and does not support changing namespace. Created a KTF issue: Kong/kubernetes-testing-framework#765 and mark it as the blocker.