Skip to content

Trouble with "Kubernetes bearer token authentication" #10

Closed

Description

@jynok

Hi,

I'm using Grafana v5.0.4 (commit: 7dc36ae) and kubegraf 1.1.0

When defining my cluster, I see the new "Bearer token access" label but ... nothing more (no checkbox):
image

image

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!

JYC

Activity

  1. added 2 commits that reference this issue on Sep 30, 2019
  2. sergeisporyshev commented on Sep 30, 2019

    @sergeisporyshev
    Collaborator
  3. jynok commented on Oct 1, 2019

    @jynok
    Author

    Thanks @sergeisporyshev.

    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
    2019/10/01 07:57:22 http: proxy error: unsupported protocol scheme ""

    Will try to dig deeper into this new issue and open another ticket if I don't find the solution.

  4. jynok commented on Oct 1, 2019

    @jynok
    Author

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions