From 8601fb7bea2a754473344293cd8f7a5247e7c3f8 Mon Sep 17 00:00:00 2001 From: Dmitry Mishin <dmitry.mishin@gmail.com> Date: Wed, 6 Jun 2018 11:42:24 -0700 Subject: [PATCH] Added section about grafana config #1436 --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 9256319c..c71d0743 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,19 @@ A hidden `_config` field is located at the top level of the object this library } ``` +The grafana definition is located in a different project (https://github.com/brancz/kubernetes-grafana), but needed configuration can be customized from the same file. F.e. to allow anonymous access to grafana, add the `_config` section: + +``` + grafana+:: { + config: { + sections: { + "auth.anonymous": {enabled: true}, + }, + }, + }, +``` + + ## Customization Jsonnet is a turing complete language, any logic can be reflected in it. It also has powerful merge functionalities, allowing sophisticated customizations of any kind simply by merging it into the object the library provides. -- GitLab