k8s: the queue's pod mounts the host unit's store in place
This commit is contained in:
parent
a793df9708
commit
140ee7f38a
1 changed files with 267 additions and 155 deletions
|
|
@ -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 ];
|
||||
}
|
||||
''
|
||||
|
|
|
|||
Loading…
Reference in a new issue