diff options
author | makefunstuff <[email protected]> | 2024-06-29 19:11:26 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-29 19:11:26 +0200 |
commit | 61a42182fa14a41984c36e84883f0416a5c02f0e (patch) | |
tree | acc9232f879e76b8497229f5ffdc0f91cab6377d /tools/grafana | |
parent | d76ba665074a5b7c5540d5cd0f707de89e53719e (diff) | |
download | k3s-lab-61a42182fa14a41984c36e84883f0416a5c02f0e.tar.gz |
mount secrets
Diffstat (limited to '')
-rw-r--r-- | tools/grafana/values.yaml | 17 |
1 files 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" |