Watch
0
0
Fork
You've already forked hyperhive
0

match the guest's legacy key path in the grafana tmpfiles check, not the /run secrets dir

This commit is contained in:
atlas 2026-10-27 12:35:49 +01:00 • committed by mara
commit c4e8d5b540

View file

@ -278,7 +278,8 @@ let
== "$__file{/run/swarm-grafana-secrets/secret-key}"
&& !(guest.systemd.services ? swarm-grafana-secret-key)
&& guest.systemd.services ? grafana
&& !(lib.any (lib.hasInfix "grafana-secret") m.systemd.tmpfiles.rules)
&& !(lib.any (lib.hasInfix "/var/lib/grafana-secret") m.systemd.tmpfiles.rules)
&& lib.any (lib.hasInfix "/var/lib/grafana-admin") m.systemd.tmpfiles.rules
&& lib.elem "r /var/lib/nixos-containers/swarm-grafana/var/lib/grafana-admin/password" m.systemd.tmpfiles.rules;
}
{