feat(updates): NetBird container image update management
- New image_service.py: Docker Hub digest check (no pull), local digest/ID
comparison, pull_all_images, per-customer container image status, and
update_customer_containers (docker compose up -d, data-safe)
- Monitoring endpoints: GET /images/check (hub vs local + per-customer
needs_update), POST /images/pull (background), POST /customers/update-all
- Deployment endpoint: POST /{id}/update-images (single-customer update)
- Monitoring page: "NetBird Container Updates" card with Check / Pull / Update
All buttons; image status table and per-customer update table with inline
update buttons
- i18n: added keys in en.json and de.json
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -373,6 +373,25 @@
|
||||
"thDashboard": "Dashboard",
|
||||
"thRelayPort": "Relay-Port",
|
||||
"thContainers": "Container",
|
||||
"noCustomers": "Keine Kunden."
|
||||
"noCustomers": "Keine Kunden.",
|
||||
"imageUpdates": "NetBird Container Updates",
|
||||
"checkUpdates": "Auf Updates prüfen",
|
||||
"pullImages": "Neueste Images laden",
|
||||
"updateAll": "Alle aktualisieren",
|
||||
"clickCheckUpdates": "Klicken Sie auf \"Auf Updates prüfen\" um lokale Images mit Docker Hub zu vergleichen.",
|
||||
"updateAvailable": "Update verfügbar",
|
||||
"upToDate": "Aktuell",
|
||||
"needsUpdate": "Update erforderlich",
|
||||
"updateCustomer": "Diesen Kunden aktualisieren",
|
||||
"imageStatusTitle": "Image-Status (vs. Docker Hub)",
|
||||
"customerImageTitle": "Kunden-Container Status",
|
||||
"thImage": "Image",
|
||||
"thLocalDigest": "Lokaler Digest",
|
||||
"thHubDigest": "Hub Digest",
|
||||
"confirmPull": "Neueste NetBird Images von Docker Hub laden? Dies kann einige Minuten dauern.",
|
||||
"pullStarted": "Image-Download im Hintergrund gestartet. Prüfung in 5 Sekunden…",
|
||||
"confirmUpdateAll": "Container aller Kunden mit veralteten Images neu erstellen? Laufende Dienste werden kurz neu gestartet.",
|
||||
"updateAllStarted": "Aktualisierung im Hintergrund gestartet.",
|
||||
"updateDone": "Kunden-Container aktualisiert."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user