|
|
@@ -802,9 +802,14 @@ config from the add-on options (env), drops the SSH key (base64 option),
|
|
|
token is required) with a background re-sync loop
|
|
|
(`SM121_REPO_RESYNC_MINUTES`). Its `custom_components/` custom-integration
|
|
|
prototype is superseded (entities are a phase-2 nicety over the add-on's
|
|
|
-REST API). Per-install credentials that can't be flat options (e.g. a
|
|
|
-`[mikrotik]` block with its password) go in the `sm121_config_extra`
|
|
|
-option — raw TOML appended to the generated config, kept out of the log.
|
|
|
+REST API). The cluster definitions (private IPs — never in the public
|
|
|
+recipe repo) come from a **private** `sm121/cluster-config` git repo,
|
|
|
+fetched at boot via the `sm121_base_config` (+ `sm121_base_config_token`)
|
|
|
+options and used as the base config (it may carry `[home_assistant]` /
|
|
|
+`[mikrotik]` — a private repo can hold cluster-side secrets). Per-install
|
|
|
+credentials that can't be flat options (e.g. a `[mikrotik]` block with its
|
|
|
+password) can also go in the `sm121_config_extra` option — raw TOML
|
|
|
+appended to the generated config, kept out of the log.
|
|
|
|
|
|
**Single-launcher rule** — the per-recipe run ledger (`.lock` in the
|
|
|
recipe repo) is the serialization point: a second launcher that serves
|