Watch
0
0
Fork
You've already forked hyperhive
0

remove the old snapshot store; tombstone its options

This commit is contained in:
atlas 2026-11-09 23:13:18 +01:00 • committed by mara
commit 20d286f06a

View file

@ -68,6 +68,12 @@ let
there is no agent-base closure to pre-fetch into the host store. Remove
this definition.
'';
# Shared by the removed options of the snapshot store.
snapshotStoreRemoved = ''
The snapshot store was removed; agent-state backups are being rebuilt as
swarm-archive. Remove this definition.
'';
in
{
imports = [
@ -143,6 +149,38 @@ in
"queue"
"agentCredentialDir"
] queueAgentCredentialRemoved)
(lib.mkRemovedOptionModule [
"services"
"hyperhive"
"swarm"
"snapshotStore"
"address"
] snapshotStoreRemoved)
(lib.mkRemovedOptionModule [
"services"
"hyperhive"
"swarm"
"snapshotStore"
"port"
] snapshotStoreRemoved)
(lib.mkRemovedOptionModule [
"services"
"hyperhive"
"snapshotStore"
"enable"
] snapshotStoreRemoved)
(lib.mkRemovedOptionModule [
"services"
"hyperhive"
"snapshotStore"
"path"
] snapshotStoreRemoved)
(lib.mkRemovedOptionModule [
"services"
"hyperhive"
"snapshotStore"
"port"
] snapshotStoreRemoved)
# Same type, same meaning, new path — so a rename carries it exactly
# and existing configs keep evaluating with one warning naming both