Fixing reverse proxy 'origin not allowed' from Percona PMM/Grafana in Kubernetes
This can be a tricky one to debug. The 'origin not allowed' only comes from one place in Grafana:
hostnameMatches := origin == netAddr.Host
if netAddr.Host == "" || !trustedOrigin && !hostnameMatches {
return &errorWithStatus{Underlying: errors.New("origin not allowed"), HTTPStatus: http.StatusForbidden}
}
Normally you&