diff options
author | Vincent Ambo <mail@tazj.in> | 2021-12-10T12·55+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2021-12-10T19·31+0000 |
commit | b1108821a9dbc617f02a4437c9300f5b0bdca479 (patch) | |
tree | aaf699ef17aca6fc6b027a7f3fe925137eb65b4c /ops/machines | |
parent | 1b94d2c0baee15baa03e805d6d64a3cf4d601f6a (diff) |
refactor(ops): Move grafana secret into agenix r/3197
Change-Id: Id141758135c796881e91d20b950dae74c40d9ab3
Diffstat (limited to 'ops/machines')
-rw-r--r-- | ops/machines/whitby/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ops/machines/whitby/default.nix b/ops/machines/whitby/default.nix index 41b53fa98445..88c0aa9d03c4 100644 --- a/ops/machines/whitby/default.nix +++ b/ops/machines/whitby/default.nix @@ -209,6 +209,7 @@ in { in { clbot.file = secretFile "clbot"; gerrit-queue.file = secretFile "gerrit-queue"; + grafana.file = secretFile "grafana"; irccat.file = secretFile "irccat"; owothia.file = secretFile "owothia"; @@ -517,7 +518,7 @@ in { }; }; # 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 = [ { |