forked from mirrors_public/oddlama_nix-config
feat: switch to upstreamed influxdb2 provisioning, add kanidm provisioning module
This commit is contained in:
parent
9533e760e4
commit
522de920bb
11 changed files with 776 additions and 1325 deletions
|
@ -36,16 +36,11 @@ in {
|
|||
group = "influxdb2";
|
||||
};
|
||||
|
||||
services.influxdb2.provision.ensureApiTokens = [
|
||||
{
|
||||
name = "grafana servers:telegraf (${config.node.name})";
|
||||
org = "servers";
|
||||
user = "admin";
|
||||
readBuckets = ["telegraf"];
|
||||
writeBuckets = ["telegraf"];
|
||||
tokenFile = nodes.ward-influxdb.config.age.secrets."grafana-influxdb-token-${config.node.name}".path;
|
||||
}
|
||||
];
|
||||
services.influxdb2.provision.organization.servers.auths."grafana servers:telegraf (${config.node.name})" = {
|
||||
readBuckets = ["telegraf"];
|
||||
writeBuckets = ["telegraf"];
|
||||
tokenFile = nodes.ward-influxdb.config.age.secrets."grafana-influxdb-token-${config.node.name}".path;
|
||||
};
|
||||
};
|
||||
|
||||
nodes.sentinel = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue