mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-26 15:29:34 +01:00
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
|