-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Grafana proxy configuration #38
Conversation
/ost basic-suite-master el8stream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change itself looks good to me, please check if it works not only with the new grafana versions 7.5.15 but also with older 7.5.11. And if so, we should also handle upgrade (during engine-setup we need to check if ProxyPreserveHost on line exists in the file and if not, then the file needs to be updated).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, from packaging/setup POV. I didn't investigate the actual issue nor do I know all the implications of using ProxyPreserveHost.
"Looks good to me" means: I checked the relevant code and it seems like it should work also on upgrades. Please verify this. |
Verified on rhel8 Grafana 7.5.11 |
Verified on upstream+downstream upgrades, engine-setup recreates the file (the only steps needed is to upgrade and run engine-setup). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
There is a grafana update in version 7.5.15 used on CS8. We need to pass the original Host and Origin headers from the client request to Grafana. Signed-off-by: Aviv Litman <alitman@redhat.com>
4b52702
to
a9b3218
Compare
There is a grafana update in version 7.5.15 used on CS8.
We need to pass the original Host and Origin headers from the client request to Grafana.
Signed-off-by: Aviv Litman alitman@redhat.com