forked from DGNum/infrastructure
feat(influxdb): Add a token for grafana
This commit is contained in:
parent
cc613ba7b9
commit
05a6b66784
3 changed files with 11 additions and 3 deletions
|
@ -18,9 +18,16 @@ in
|
|||
dgnum = {
|
||||
description = "DGNum org";
|
||||
buckets.telegraf.description = "Telegraf bucket";
|
||||
auths.telegraf = {
|
||||
writeBuckets = [ "telegraf" ];
|
||||
tokenFile = token "telegraf";
|
||||
auths = {
|
||||
telegraf = {
|
||||
writeBuckets = [ "telegraf" ];
|
||||
tokenFile = token "telegraf";
|
||||
};
|
||||
|
||||
grafana = {
|
||||
readPermissions = [ "buckets" ];
|
||||
tokenFile = token "grafana";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
BIN
machines/storage01/secrets/influxdb2-grafana_token_file
Normal file
BIN
machines/storage01/secrets/influxdb2-grafana_token_file
Normal file
Binary file not shown.
|
@ -7,6 +7,7 @@ lib.setDefault { inherit publicKeys; } [
|
|||
"forgejo-mailer_password_file"
|
||||
"forgejo_runners-token_file"
|
||||
"garage-environment_file"
|
||||
"influxdb2-grafana_token_file"
|
||||
"influxdb2-initial_password_file"
|
||||
"influxdb2-initial_token_file"
|
||||
"influxdb2-telegraf_token_file"
|
||||
|
|
Loading…
Reference in a new issue