This folder stores filter config proto files for ESPv2 http filters.
ESPv2 config is versioned. The current version is stored in api/VERSION file.
The folder names under api/ contain version, e.g. api/envoy/v8/http/backend_auth.
The proto package names contain version too, e.g. espv2.api.envoy.v8.http.common.Pattern.
When making changes to the config proto files, make sure:
- No breaking changes, the changes should be backward compatible,
- If a breaking change is required, increase config version.
If a breaking change is required, use following steps to increase config version.
- Increase
api/VERSIONto a newer version, e.g. fromv6tov7. - Rename folder name from
api/envoy/v6/httptoapi/envoy/v8/http. - Replace package names from
api.envoy.v6.httptoapi.envoy.v8.httpfor all proto files under folderapi/.
Above steps can be achieved by running script api/scripts/update_version.sh.