You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the introduction of support for Admin API service discovery #702 and hence single controller deployments (partially via KongAdminAPIServiceReconciler) we need to add tests for this functionality.
Some of the related functionality is already being tests with
t.Logf("proxy pod %s/%s: got the config", pod.Namespace, pod.Name)
}
}
but ideally we would like like to add some integration tests. This unfortunately is not easy because service discovery is being done via EndpointSlice watch which returns cluster internal addresses.
Proposed solution
Add envtest based tests to test predicates about KongAdminAPIServiceReconciler.
The text was updated successfully, but these errors were encountered:
Problem statement
After the introduction of support for Admin API service discovery #702 and hence single controller deployments (partially via
KongAdminAPIServiceReconciler
) we need to add tests for this functionality.Some of the related functionality is already being tests with
kubernetes-ingress-controller/test/e2e/all_in_one_test.go
Lines 318 to 383 in b9b9256
but ideally we would like like to add some integration tests. This unfortunately is not easy because service discovery is being done via EndpointSlice watch which returns cluster internal addresses.
Proposed solution
Add
envtest
based tests to test predicates aboutKongAdminAPIServiceReconciler
.The text was updated successfully, but these errors were encountered: