fix(ops): reconcile Prometheus bind mount

This commit is contained in:
ogt
2026-07-11 20:17:36 +08:00
parent bd5350349d
commit e7fd82111c
3 changed files with 116 additions and 3 deletions

View File

@@ -42,6 +42,7 @@ def main() -> int:
default="mo.wooo.work:443:127.0.0.1",
)
parser.add_argument("--canary-timeout", type=int, default=90)
parser.add_argument("--prometheus-compose-file", default="")
parser.add_argument("--receipt", type=Path)
args = parser.parse_args()
@@ -59,6 +60,7 @@ def main() -> int:
apply_scope=args.apply_scope,
metrics_canary_url=args.metrics_canary_url,
metrics_canary_resolve=args.metrics_canary_resolve,
prometheus_compose_file=args.prometheus_compose_file,
) if args.apply else {key: value for key, value in plan.items() if not key.startswith("_")}
output = json.dumps(payload, ensure_ascii=False, indent=2, sort_keys=True)
if args.receipt: