summaryrefslogtreecommitdiffstats
path: root/ansible/roles/kube-prometheus-stack/defaults/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/kube-prometheus-stack/defaults/main.yml')
-rw-r--r--ansible/roles/kube-prometheus-stack/defaults/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/kube-prometheus-stack/defaults/main.yml b/ansible/roles/kube-prometheus-stack/defaults/main.yml
index 53685bec..8803b802 100644
--- a/ansible/roles/kube-prometheus-stack/defaults/main.yml
+++ b/ansible/roles/kube-prometheus-stack/defaults/main.yml
@@ -1,12 +1,17 @@
---
kube_prometheus_stack:
k8s_namespace: kube-prometheus
+ grafana_dashboards:
+ - { src: "grafana_dashboard.json", dest: "{{ nfs_mount_path }}/kube-prometheus/kube-prometheus-grafana/dashboards/custom/" }
+ - { src: "grafana_home.json", dest: "{{ nfs_mount_path }}/kube-prometheus/kube-prometheus-grafana/dashboards/" }
helm_release_name: kube-prometheus-stack
helm_timeout: "240s"
helm_values_file: "{{ app_data_path }}/kube_prometheus_values.yaml"
helm_values:
grafana:
adminPassword: grafana
+ env:
+ GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH: /var/lib/grafana/dashboards/grafana_home.json
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1