From 61a42182fa14a41984c36e84883f0416a5c02f0e Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Sat, 29 Jun 2024 20:11:26 +0300 Subject: mount secrets --- tools/grafana/values.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/tools/grafana/values.yaml b/tools/grafana/values.yaml index d967f31..43a0890 100644 --- a/tools/grafana/values.yaml +++ b/tools/grafana/values.yaml @@ -2,6 +2,10 @@ global: namespace: monitoring grafana: + extraVolumes: + - name: es-certs + secret: + secretName: log-storage-es-http-certs-public extraLabels: elasticsearch-master-http-client: "true" service: @@ -42,7 +46,14 @@ grafana: access: proxy url: http://prometheus-server.monitoring.svc.cluster.local isDefault: true - - name: Loki - type: loki - url: http://loki.monitoring.svc.cluster.local:3100 + - name: Elasticsearch + type: elasticsearch + url: http://log-storage-es-http.monitoring.svc.cluster.local:9200 access: proxy + jsonData: + timeField: "@timestamp" + esVersion: 70 + tlsAuth: true + tlsClientCert: "/etc/grafana/es-certs/tls.crt" + tlsClientKey: "/etc/grafana/es-certs/tls.key" + tlsCaCert: "/etc/grafana/es-certs/ca.crt" -- cgit 1.4.1-2-gfad0