mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 15:44:33 +00:00
chore(installer): core Python updates — env, milestones, monitoring
Minor updates aligned with min-mode and auth Round 1 integration. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
40ea30e4c3
commit
c570160fb5
@ -814,7 +814,7 @@ def _detect_ansible_storage_mounts(inventory_path: Path) -> dict[str, dict[str,
|
|||||||
|
|
||||||
Returns a mapping like:
|
Returns a mapping like:
|
||||||
{
|
{
|
||||||
"d001": {"host": "myrddin.knoe.org", "path": "/synology/d001"},
|
"d001": {"host": "myrddin.prole.org", "path": "/synology/d001"},
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -836,7 +836,7 @@ class DockerBuildMilestone(Milestone):
|
|||||||
registry = (state.config_data.get("Global", {}) or {}).get("KNOE_IMAGE_REGISTRY", "").strip()
|
registry = (state.config_data.get("Global", {}) or {}).get("KNOE_IMAGE_REGISTRY", "").strip()
|
||||||
|
|
||||||
if not registry or registry == "localhost:5000":
|
if not registry or registry == "localhost:5000":
|
||||||
server = state.inputs.get("init_cluster.k3s_server_url", "myrddin.knoe.org")
|
server = state.inputs.get("init_cluster.k3s_server_url", "myrddin.prole.org")
|
||||||
if "://" in server:
|
if "://" in server:
|
||||||
server = server.split("://")[1]
|
server = server.split("://")[1]
|
||||||
if ":" in server:
|
if ":" in server:
|
||||||
|
|||||||
@ -227,7 +227,7 @@ def _values_yaml_k3s(grafana_password: str, env: dict | None) -> str:
|
|||||||
sc_alert = f"merlin-local-iscsi-{volume_id}-alertmanager"
|
sc_alert = f"merlin-local-iscsi-{volume_id}-alertmanager"
|
||||||
sc_grafana = f"merlin-local-iscsi-{volume_id}-grafana"
|
sc_grafana = f"merlin-local-iscsi-{volume_id}-grafana"
|
||||||
|
|
||||||
monitoring_node = str((env or {}).get("MONITORING_PRIMARY_NODE") or "merlin.knoe.org")
|
monitoring_node = str((env or {}).get("MONITORING_PRIMARY_NODE") or "merlin.prole.org")
|
||||||
excluded_nodes = str((env or {}).get("MONITORING_NODE_EXPORTER_EXCLUDE_NODES") or "pi.knoe.org")
|
excluded_nodes = str((env or {}).get("MONITORING_NODE_EXPORTER_EXCLUDE_NODES") or "pi.knoe.org")
|
||||||
excluded_list = [n.strip() for n in excluded_nodes.split(",") if n.strip()]
|
excluded_list = [n.strip() for n in excluded_nodes.split(",") if n.strip()]
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user