about summary refs log tree commit diff
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-29 20:30:18 +0200
committermakefunstuff <[email protected]>2024-06-29 20:30:18 +0200
commit027346317e72e7a7c93bd3fdc0f371876b3c1c86 (patch)
treeda56f05d38396804937dc584d95446361aeb6585
parent45e33810af402227ba52da3219c5145069bc24c7 (diff)
downloadk3s-lab-027346317e72e7a7c93bd3fdc0f371876b3c1c86.tar.gz
use env
Diffstat (limited to '')
-rw-r--r--tools/grafana/values.yaml9
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/grafana/values.yaml b/tools/grafana/values.yaml
index 71479d9..9190cf4 100644
--- a/tools/grafana/values.yaml
+++ b/tools/grafana/values.yaml
@@ -2,10 +2,7 @@ global:
   namespace: monitoring
 
 grafana:
-  extraSecretMounts:
-    - name: es-creds
-      mountPath: /etc/grafana/es-creds
-      secretName: log-storage-es-elastic-user
+  envFromSecret: log-storage-es-elastic-user
   extraLabels:
     elasticsearch-master-http-client: "true"
   service:
@@ -51,8 +48,8 @@ grafana:
           url: https://log-storage-es-http.monitoring.svc.cluster.local:9200
           access: proxy
           basicAuth: true
-          basicAuthUser: elastic
-          basicAuthPassword: /etc/grafana/es-creds/elastic
+          basicAuthUser: "elastic"
+          basicAuthPassword: elastic
           jsonData:
             esVersion: 70
             tlsSkipVerify: true