aboutsummaryrefslogtreecommitdiff
path: root/app/telemetry/config/grafana/provisioning/datasources
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-26 18:56:16 +0100
committerAlex Auvolat <alex@adnab.me>2022-02-26 18:56:16 +0100
commit8064d91dfb76bc38466b5e9382b4d43f3188a444 (patch)
tree396e14eff2cc2e3135b24ff8c7000f7393bb1a36 /app/telemetry/config/grafana/provisioning/datasources
parent823c8bd3ba029176405a0e3e718d96632b63cd88 (diff)
downloadnixcfg-8064d91dfb76bc38466b5e9382b4d43f3188a444.tar.gz
nixcfg-8064d91dfb76bc38466b5e9382b4d43f3188a444.zip
Add security to telemetry deployment
Diffstat (limited to 'app/telemetry/config/grafana/provisioning/datasources')
-rw-r--r--app/telemetry/config/grafana/provisioning/datasources/elastic.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/telemetry/config/grafana/provisioning/datasources/elastic.yaml b/app/telemetry/config/grafana/provisioning/datasources/elastic.yaml
index 8108a53..a41be6f 100644
--- a/app/telemetry/config/grafana/provisioning/datasources/elastic.yaml
+++ b/app/telemetry/config/grafana/provisioning/datasources/elastic.yaml
@@ -5,8 +5,8 @@ datasources:
type: elasticsearch
access: proxy
url: http://localhost:9200
- password: ''
- user: ''
+ password: '{{ key "secrets/telemetry/elastic_passwords/grafana" }}'
+ user: 'grafana'
database: apm-*
basicAuth: false
isDefault: true