Watch
0
0
Fork
You've already forked hyperhive
0

k8s: the queue's pod mounts the host unit's store in place

This commit is contained in:
atlas 2026-11-23 02:58:52 +01:00 • committed by maia
commit 8b4ae09b45

View file

@ -36,7 +36,10 @@ pkgs.runCommand "hyperhive-script-test-nats-render-config"
{
# `removePrefix` keeps the string context, and with it the script's store
# path among this check's inputs. The `+` is systemd's, not the path's.
RENDER = lib.removePrefix "+" queue.containers.swarm-nats.config.systemd.services.nats.serviceConfig.ExecStartPre;
# The render is the first of the unit's `ExecStartPre` entries.
RENDER = lib.removePrefix "+" (
lib.head queue.containers.swarm-nats.config.systemd.services.nats.serviceConfig.ExecStartPre
);
nativeBuildInputs = [ pkgs.jq ];
}
''