UNCLASSIFIED - NO CUI

Add an EnvoyFilter to strip trailing dots from host names in monitoring NS

Motivation

Mimir's generated configuration makes extensive use of FQDNs (domain names with a trailing dot, e.g. www.google.com.). This does not play well with Istio's service discovery mechanism which does not use FQDNs. In order for Istio to correctly identify traffic bound for services within the mesh, envoy must be configured to strip the trailing dot from these host headers prior to querying the mesh. This can be accomplished with an EnvoyFilter

Acceptance Criteria

  • An EnvoyFilter must be created that strips trailing dots from hostnames within the monitoring namespace when istio is enabled

Reference

https://github.com/istio/istio/issues/18904#issuecomment-955702260