kube-ingress-aws-controller icon indicating copy to clipboard operation
kube-ingress-aws-controller copied to clipboard

change tests

Open szuecs opened this issue 2 years ago • 0 comments

In https://github.com/zalando/skipper/blob/master/dataclients/kubernetes/ we use golden files to validate that an input of an Ingress or RouteGroup (both .yaml files) will output the right .eskip, .log, .., including overriding configuration for single tests via .kube files. This needs a bit of test infra in code, but is worth all the time spend there. We should do the same for this controller with ingress/routegroup (yaml) as input and CF .json files as output.

To start to gather CF files for given ingress/routegroups we could dump the CF files to debug logs and use a test cluster to create files for different configurations (controller flags) and input files (ingress/routegroup with/without annotations).

szuecs avatar Oct 06 '21 15:10 szuecs