-
Notifications
You must be signed in to change notification settings - Fork 218
Closed
Labels
Description
As a follow up to #526
We thought it would be useful to add an Inigo test that curls the Envoy admin server and ensures the config dump does not include any deprecated fields (see #521 for an example of what it would show).
We didn't do it as part of #526 as it is a little involved and we wanted to keep that PR small, the flow should possible go something like this:
- modify Inigo test app (grace? or another?) to have the ability to send a request to the Envoy admin server
- could be a new endpoint, it may return the content back as a response to the request it received
- wait for LRP to be running
- make a request to the app to fetch the Envoy config dump
- check config dump has no fields that are deprecated
- substring checking? only check the keys? or could parse the config into the actual structure or some generic map
This test would start to fail when we bump Envoy and are still using fields that are newly deprecated so we can fix them ASAP, block us releasing, etc. rather than find out after the fact from issues like #521