about summary refs log tree commit diff
path: root/tools/grafana
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-29 20:12:39 +0200
committermakefunstuff <[email protected]>2024-06-29 20:12:39 +0200
commit1b7b64cedf9cab5c1c1013f270b377d3a2d22b54 (patch)
tree209f2f949accaf98b34ef87c790a1fa0c61ab16a /tools/grafana
parent9d88e865452b63387fee7d49dc7ad4a1d3babb41 (diff)
downloadk3s-lab-1b7b64cedf9cab5c1c1013f270b377d3a2d22b54.tar.gz
upd
Diffstat (limited to '')
-rw-r--r--tools/grafana/values.yaml13
1 files changed, 6 insertions, 7 deletions
diff --git a/tools/grafana/values.yaml b/tools/grafana/values.yaml
index e3f9cc6..eb89b01 100644
--- a/tools/grafana/values.yaml
+++ b/tools/grafana/values.yaml
@@ -3,9 +3,9 @@ global:
 
 grafana:
   extraSecretMounts:
-    - name: es-certs
-      mountPath: /etc/grafana/es-certs
-      secretName: log-storage-es-http-certs-public
+    - name: es-creds
+      mountPath: /etc/grafana/es-creds
+      secretName: log-storage-es-elastic-user
   extraLabels:
     elasticsearch-master-http-client: "true"
   service:
@@ -50,9 +50,8 @@ grafana:
           type: elasticsearch
           url: https://log-storage-es-http.monitoring.svc.cluster.local:9200
           access: proxy
+          basicAuthUser: elastic
+          basicAuthPassword: /etc/grafana/es-creds/password
           jsonData:
-            timeField: "@timestamp"
             esVersion: 70
-            tlsAuth: true
-            tlsClientCert: "/etc/grafana/es-certs/tls.crt"
-            tlsCaCert: "/etc/grafana/es-certs/ca.crt"
+            tlsSkipVerify: true