Dont show DB containers with .ambassador in the name

This commit is contained in:
Peter Stockings
2025-12-24 10:50:37 +11:00
parent de24d9f78a
commit 0c89a0f745

2
app.py
View File

@@ -426,7 +426,7 @@ def collect_admin_data():
"logs": get_container_logs(name, lines=50),
"detail": get_container_detail(name)
})
elif classify_infra(name) and ("postgres" in name or "mysql" in name):
elif classify_infra(name) and ("postgres" in name or "mysql" in name) and not name.endswith(".ambassador"):
databases.append({
"name": name,
"type": "postgres" if "postgres" in name else "mysql"