lifecycle: drop manager port special case (#753) — manager hashes into 8100..8999 like every other agent
This commit is contained in:
parent
f9a492f7a9
commit
4526e40a49
11 changed files with 43 additions and 39 deletions
|
|
@ -1309,7 +1309,14 @@ in
|
|||
# `applied/hm1nd/flake.nix` (see `lifecycle::setup_applied`);
|
||||
# the values here keep the container sensible if anyone
|
||||
# evaluates the standalone config.
|
||||
HIVE_PORT = "8000";
|
||||
#
|
||||
# `HIVE_PORT` = FNV-1a("hm1nd") % 900 + 8100 = 8875 per
|
||||
# `lifecycle::agent_web_port` (#753 dropped the
|
||||
# pre-#753 "manager pinned at 8000" special case). Hardcoded
|
||||
# here because the standalone-eval path doesn't go through
|
||||
# `meta::render_flake`; real deploys pick up the rust-computed
|
||||
# value via meta and never touch this fallback.
|
||||
HIVE_PORT = "8875";
|
||||
HIVE_LABEL = "hm1nd";
|
||||
};
|
||||
serviceConfig = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue