envoyproxy/envoy

Access log token discovery or validation for xDS

Open

#13,620 建立於 2020年10月19日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)C++ (5,373 fork)batch import
area/access_loghelp wanted

倉庫指標

Star
 (27,997 star)
PR 合併指標
 (平均合併 8天) (30 天內合併 378 個 PR)

描述

Description:

An xDS server may need to deal with multiple Envoy versions (either simultaneously, or over its deployed lifetime). The set of valid access log tokens can vary across Envoy versions. If the xDS server sends a configuration with an invalid log token, that update is rejected with a Not supported field in StreamInfo error message. Other than by parsing the message string in the ErrorDetail, the xDS server doesn't have any way to know that the log token was invalid.

One way to solve this would be for xDS servers to have access to a canonical list of valid log tokens for the Envoy version. Another way could be to use the ErrorDetail.Details field to expose some structured information that the xDS server could use to drop the invalid log token.

貢獻者指南