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
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).
The text was updated successfully, but these errors were encountered:
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).
The text was updated successfully, but these errors were encountered: