Skip to content

grafana.ini and persistent user login details #1278

Answered by bip7686
kappa-wingman asked this question in Q&A
Discussion options

You must be logged in to vote
local kp =
  (import 'kube-prometheus/main.libsonnet')
  {
    values+:: {
      common+: {
        namespace: 'monitoring',
      },
      grafana+: {
        config+: {
          sections+: {
            server+: {
              root_url: 'http://grafana.k8s.kube.com',
            },
            security+: {
              admin_password: 'somePassword',
            },
            'auth.anonymous'+: {
              enabled: true,
              org_role: 'Viewer',
            },
            date_formats+: {
              default_timezone: 'browser',
            },
          },
        },
      },

/**** snip *****/

I'm configuring grafana like this in my jsonnet file. I believe these set…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kappa-wingman
Comment options

Answer selected by ArthurSens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants