Watch
0
0
Fork
You've already forked hyperhive
0

nix: render migrate.json and wrap swarmctl with kubectl

This commit is contained in:
atlas 2026-11-22 20:44:16 +01:00 • committed by mara
commit 5779bc5719

View file

@ -1262,6 +1262,19 @@ in
k8s.freshState = import ./lib/fresh-state-option.nix { inherit lib; } "nats";
storeDir = lib.mkOption {
type = lib.types.str;
readOnly = true;
internal = true;
default = natsSystem.services.nats.settings.jetstream.store_dir;
description = ''
The JetStream store's directory inside the container, and the path the
pod mounts its volume at. The host's copy of it is this path under
`/var/lib/nixos-containers/swarm-nats`, which
../host-modules/k8s/migrate.nix names for `swarmctl migrate`.
'';
};
unit = lib.mkOption {
type = lib.types.raw;
readOnly = true;