grafana / grafana-operator

An operator for Grafana that installs and manages Grafana instances, Dashboards and Datasources through Kubernetes/OpenShift CRs
https://grafana.github.io/grafana-operator/
Apache License 2.0
863 stars 384 forks source link

fix: use frontend settings endpoint for version detection #1583

Closed theSuess closed 2 months ago

theSuess commented 2 months ago

This changes the version detection logic to use the frontend settings endpoint as it is more reliable, especially on cloud provider offerings.

Fixes #1569

I don't currently have access to Azure/Amazon managed Grafana so we'd need someone else to test this. It works for Grafana cloud & operator managed instances

weisdd commented 2 months ago

I haven't tried to run the operator against managed Grafana in Azure, but I see that the endpoint is accessible using a service account and the required information is present:

image