mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 03:38:43 +00:00
Merge pull request #1445 from dimm0/patch-1
Added section about grafana config
This commit is contained in:
commit
c766f1ce30
1 changed files with 13 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue