diff --git a/deploy/dev/grafana.ini b/deploy/dev/grafana.ini index 3e911b1..5c67596 100644 --- a/deploy/dev/grafana.ini +++ b/deploy/dev/grafana.ini @@ -13,3 +13,6 @@ data = /var/lib/grafana/ logs = /var/log/grafana plugins = /var/lib/grafana/plugins provisioning = /etc/grafana/provisioning +[auth] +login_maximum_inactive_lifetime_duration = 30d +login_maximum_lifetime_duration = 30d diff --git a/deploy/prod/grafana.ini b/deploy/prod/grafana.ini deleted file mode 100644 index 3e911b1..0000000 --- a/deploy/prod/grafana.ini +++ /dev/null @@ -1,15 +0,0 @@ -[analytics] -reporting_enabled = false -check_for_updates = false -check_for_plugin_updates = false -enable_feedback_links = false -[grafana_net] -url = https://grafana.net -[log] -mode = console -; level = debug -[paths] -data = /var/lib/grafana/ -logs = /var/log/grafana -plugins = /var/lib/grafana/plugins -provisioning = /etc/grafana/provisioning diff --git a/deploy/prod/kustomization.yaml b/deploy/prod/kustomization.yaml index e5b8371..69b0e1f 100644 --- a/deploy/prod/kustomization.yaml +++ b/deploy/prod/kustomization.yaml @@ -13,7 +13,7 @@ configMapGenerator: - name: grafana behavior: merge files: - - grafana.ini + - grafana.ini=secrets/grafana-config.ini - datasources.yaml=grafana-datasources.yaml - name: invidious-config files: