about summary refs log tree commit diff
path: root/tools/grafana
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-28 22:23:24 +0200
committermakefunstuff <[email protected]>2024-06-28 22:23:24 +0200
commit7bf57ecc47fc372c885fa2a5e04150364ee0da49 (patch)
tree0d55639824140392fd9fd8fd939a8d45f0108e35 /tools/grafana
parentf79ac3ff904abc20cfa7449278fce07940aa502f (diff)
downloadk3s-lab-7bf57ecc47fc372c885fa2a5e04150364ee0da49.tar.gz
add as default data source
Diffstat (limited to '')
-rw-r--r--tools/grafana/values.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/grafana/values.yaml b/tools/grafana/values.yaml
index c6b5aec..89e53fa 100644
--- a/tools/grafana/values.yaml
+++ b/tools/grafana/values.yaml
@@ -23,4 +23,12 @@ grafana:
       - hosts:
           - grafana.topkek.cloud
         secretName: grafana-tls
-
+  datasources:
+    datasources.yaml:
+      apiVersion: 1
+      datasources:
+        - name: Prometheus
+          type: prometheus
+          access: proxy
+          url: http://prometheus-server.monitoring.svc.cluster.local
+          isDefault: true