rancher-charts/packages/rancher-monitoring
Arvind Iyengar d6c774aa42 Add nginx proxy to Grafana for magic links
This commit adds an nginx proxy in front of Grafana that intercepts the requests that are sent to the Grafana pod. This change was necessary since the Grafana pod encounters issues with Rancher proxy URLs that are formatted like:

```
<server-url>/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy
```

Specifically, if using the root_url option, it doubles up this URL when making requests for resources, e.g.
```
<server-url>/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy/<my-path>
=>
<server-url>/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy/<my-path>
```
2020-09-22 11:20:57 -07:00
..
overlay Add nginx proxy to Grafana for magic links 2020-09-22 11:20:57 -07:00
package.yaml Rebase to new upstream at kube-prometheus-stack 2020-09-17 17:10:42 -07:00
rancher-monitoring.patch Add nginx proxy to Grafana for magic links 2020-09-22 11:20:57 -07:00