refactor(ops): Move grafana secret into agenix
Change-Id: Id141758135c796881e91d20b950dae74c40d9ab3
This commit is contained in:
parent
1b94d2c0ba
commit
b1108821a9
3 changed files with 3 additions and 1 deletions
|
@ -209,6 +209,7 @@ in {
|
||||||
in {
|
in {
|
||||||
clbot.file = secretFile "clbot";
|
clbot.file = secretFile "clbot";
|
||||||
gerrit-queue.file = secretFile "gerrit-queue";
|
gerrit-queue.file = secretFile "gerrit-queue";
|
||||||
|
grafana.file = secretFile "grafana";
|
||||||
irccat.file = secretFile "irccat";
|
irccat.file = secretFile "irccat";
|
||||||
owothia.file = secretFile "owothia";
|
owothia.file = secretFile "owothia";
|
||||||
|
|
||||||
|
@ -517,7 +518,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# Contains GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET.
|
# Contains GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET.
|
||||||
systemd.services.grafana.serviceConfig.EnvironmentFile = "/etc/secrets/grafana";
|
systemd.services.grafana.serviceConfig.EnvironmentFile = "/run/agenix/grafana";
|
||||||
|
|
||||||
security.sudo.extraRules = [
|
security.sudo.extraRules = [
|
||||||
{
|
{
|
||||||
|
|
BIN
ops/secrets/grafana.age
Normal file
BIN
ops/secrets/grafana.age
Normal file
Binary file not shown.
|
@ -17,6 +17,7 @@ in {
|
||||||
"clbot-ssh.age" = default;
|
"clbot-ssh.age" = default;
|
||||||
"clbot.age" = default;
|
"clbot.age" = default;
|
||||||
"gerrit-queue.age" = default;
|
"gerrit-queue.age" = default;
|
||||||
|
"grafana.age" = default;
|
||||||
"irccat.age" = default;
|
"irccat.age" = default;
|
||||||
"owothia.age" = default;
|
"owothia.age" = default;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue