fix(ops): reconcile Prometheus bind mount
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user