mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-27 22:39:32 +01:00
6fa3b8a13f
* Upgrade Grafana from v5.4.3 to v6.0.0-beta2 * Enable Grafana Explore UI while still using only the Viewer role (inspect/edit without saving) * http://docs.grafana.org/guides/whats-new-in-v6-0/
37 lines
783 B
YAML
37 lines
783 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: grafana-config
|
|
namespace: monitoring
|
|
data:
|
|
custom.ini: |+
|
|
[server]
|
|
http_port = 8080
|
|
|
|
[paths]
|
|
data = /var/lib/grafana
|
|
plugins = /var/lib/grafana/plugins
|
|
provisioning = /etc/grafana/provisioning
|
|
|
|
[users]
|
|
allow_sign_up = false
|
|
allow_org_create = false
|
|
# viewers can edit/inspect, but not save
|
|
viewers_can_edit = true
|
|
|
|
# Disable login form, since Grafana always creates an admin user
|
|
[auth]
|
|
disable_login_form = true
|
|
|
|
# Disable the user/pass login system
|
|
[auth.basic]
|
|
enabled = false
|
|
|
|
# Allow anonymous authentication with view-only authorization
|
|
[auth.anonymous]
|
|
enabled = true
|
|
org_role = Viewer
|
|
|
|
[analytics]
|
|
reporting_enabled = false
|