0

How to set grafana theme in kubernetes deploy file. Is there any env variable supported. Thanks

techpro
  • 71
  • 1
  • 9

1 Answers1

1

You are able to set any value in the Grafana config file with env variables.

GF_<SectionName>_<KeyName>

In your deployment.yaml file add the following:

env:
- name: GF_USERS_DEFAULT_THEME
  value: <dark/light>

Defining env variables for a container in Kubernetes.

Pietervdw
  • 46
  • 6