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/v7/http/backend_auth
.
The proto package names contain version too, e.g. espv2.api.envoy.v7.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/VERSION
to a newer version, e.g. fromv6
tov7
. - Rename folder name from
api/envoy/v6/http
toapi/envoy/v7/http
. - Replace package names from
api.envoy.v6.http
toapi.envoy.v7.http
for all proto files under folderapi/
.
Above steps can be achieved by running script api/scripts/update_version.sh
.