Skip to content

Grafana - Changes in grafana-config.yaml are not loaded in it's config #1644

Answered by dnaranjor
dnaranjor asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, so, to solve the problem in release 0.7:

1.- Create a new ConfigMap YAML file with the required configuration, like this (you can simply pick up a default grafana.ini file and attach it to the YAML file):

apiVersion: v1
kind: ConfigMap
metadata:
  name: grafana-config
data:
  grafana.ini: |
    ##################### Grafana Configuration Example #####################
    #
    # Everything has defaults so you only need to uncomment things you want to
    # change

    # possible values : production, development
    app_mode = production

    # instance name, defaults to HOSTNAME environment variable value or hostname if HOSTNAME var is empty
    ; instance_name = ${HOSTNAME}

    ##…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dnaranjor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant