chore: rotate secrets

This commit is contained in:
oddlama 2024-01-04 19:16:21 +01:00
parent 1a96a4b8df
commit 7d1e022b3e
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
112 changed files with 374 additions and 387 deletions

View file

@ -34,7 +34,7 @@ in {
group = "grafana";
};
nodes.ward-influxdb = {
nodes.sire-influxdb = {
# Mirror the original secret on the influx host
age.secrets."grafana-influxdb-token-${config.node.name}" = {
inherit (config.age.secrets.grafana-influxdb-token) rekeyFile;
@ -45,7 +45,7 @@ in {
services.influxdb2.provision.organizations.machines.auths."grafana machines:telegraf (${config.node.name})" = {
readBuckets = ["telegraf"];
writeBuckets = ["telegraf"];
tokenFile = nodes.ward-influxdb.config.age.secrets."grafana-influxdb-token-${config.node.name}".path;
tokenFile = nodes.sire-influxdb.config.age.secrets."grafana-influxdb-token-${config.node.name}".path;
};
};