Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Trouble with "Kubernetes bearer token authentication" #10
I'm using Grafana v5.0.4 (commit: 7dc36ae) and kubegraf 1.1.0
Is there anything special to fill and/or configure to make the "Access via token" checkbox accessible? Feeling that I'm missing something obvious...
Thanks a lot!
Tried 1.1.1 and now have the Access via token checkbox and token field available :-)
But now I'm facing another issue, data source creation fails (Data source is not OK is displayed).
In logs, I have the following:
t=2019-10-01T07:57:22+0000 lvl=info msg=Requesting logger=data-proxy-log url=%7B%7B%20.JsonData.cluster_url%20%7D%7D/api/v1/namespaces
Will try to dig deeper into this new issue and open another ticket if I don't find the solution.
OK, correct me if I'm wrong but I think dynamic routes (that you're using for access via token) are not supported in Grafana 5; that would explain why the url hasn't been replaced by the value coming from jsonData ^_^
I'll try this again if/when we'll be able to move to Grafana 6.
Thanks again for your plugin and help (even if it seems what you did to support the checkbox for Grafana 5 has been somehow a waste, sorry for that).