Enhancement: beszel widget compatibility with v0.9.0 (#4439)

This commit is contained in:
shamoon 2024-12-18 13:04:18 -08:00 committed by GitHub
parent 6753843202
commit 4a4ca95fe5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 20 additions and 3 deletions

View file

@ -12,6 +12,11 @@ The `systemID` in the `id` field on the collections page of Beszel.
Allowed fields for 'overview' mode: `["systems", "up"]`
Allowed fields for a single system: `["name", "status", "updated", "cpu", "memory", "disk", "network"]`
| Beszel Version | Homepage Widget Version |
| -------------- | ----------------------- |
| < 0.9.0 | 1 (default) |
| >= 0.9.0 | 2 |
```yaml
widget:
type: beszel
@ -19,4 +24,5 @@ widget:
username: username # email
password: password
systemId: systemId # optional
version: 2 # optional, default is 1
```