James Wynn
f8f96645b0
Added "external" boolean annotation to specify external services
...
External services define a kubernetes service pointing to an application
hosted outside of the cluster. These services should not attempt to get
the status based on kubernetes deployments. The new boolean flag disables
this functionality. Since this is an edge case, the default value is "false".
2023-02-22 09:05:26 -06:00
James Wynn
b4cdb03228
Added support for "ping" configuration in kubernetes ingress annotations
2023-02-09 17:09:59 -06:00
shamoon
17ebdd8226
Unifi widgets support sites other than default
2023-02-03 01:19:42 -08:00
Jason Fischer
e96036e076
Merge pull request #873 from jameswynn/sort-services-by-weight
...
Services are now sorted by a new 'weight' field
2023-01-24 17:52:08 -08:00
James Wynn
8d016629d3
Services are now sorted by the 'weight' field.
...
* Default for discovered services is 0
* Default weight for configured services is their index within their
group scaled by 100, i.e. (index + 1) * 100
* Should be backwards compatible with current loose ordering
2023-01-24 12:48:49 -06:00
James Wynn
02e9df8f28
Parse widget field list if is a string
2023-01-24 09:31:20 -06:00
Michael Shamoon
ca4b5b131d
Allow specifying wan interface on opnsense widget
2023-01-22 11:02:52 -08:00
James Wynn
4d6ce1f7e2
Widgets in discovered services now work correctly
2023-01-09 08:30:50 -06:00
James Wynn
36ed1022e3
detection now uses annotation "gethomepage.dev/enabled" instead of label
2023-01-03 16:15:08 -06:00
James Wynn
e15ba1c82c
Merge branch 'main' into kubernetes
2022-12-31 11:19:42 -06:00
Michael Shamoon
ee729a7e6a
remove error on no discovered services
2022-12-30 20:31:25 -08:00
Michael Shamoon
6b90d3ef28
Handle docker server failures if others succeed
2022-12-22 21:16:52 -08:00
Vinay Dawani
9188f5cdd9
cleanup
2022-12-11 12:49:23 -05:00
Vinay Dawani
fb883c7b27
added yaml file variable for swarm mode checks
2022-12-11 03:03:20 -05:00
James Wynn
ec08535204
fixed podSelector discovery
2022-12-09 07:56:51 -06:00
James Wynn
a146c13c4f
fixed unintentional blank default podSelector from discovery
2022-12-09 07:52:32 -06:00
James Wynn
8543118607
updated ingress selector label, added href override annotation
2022-12-09 07:43:52 -06:00
James Wynn
09eb172079
new status format, new podSelector field, more accurate pod stats
...
* renamed pod label prefix from "homepage" to "gethomepage.dev"
which is more inline with typical kubernetes practices
2022-12-08 16:04:33 -06:00
James Wynn
174cb651b4
Merge branch 'main' into kubernetes
2022-12-08 09:57:51 -06:00
shamoon
9d2f1ab8c8
Add default interval setting for coinmarketcap
2022-12-01 06:36:51 -08:00
James Wynn
056e26dfd3
Improved handling of empty or disabled kubernetes configuration
2022-11-06 06:58:52 -06:00
James Wynn
0c6f7dbee1
Cleaned up some variable names
2022-11-06 06:58:52 -06:00
James Wynn
4fc6db49ca
Improved kubernetes error handling
2022-11-06 06:58:52 -06:00
James Wynn
c4333fd2dc
Kubernetes support
...
* Total CPU and Memory usage for the entire cluster
* Total CPU and Memory usage for kubernetes pods
* Service discovery via annotations on ingress
* No storage stats yet
* No network stats yet
2022-11-06 06:58:52 -06:00
Michael Shamoon
48a09e5a99
Refactor info widget sanitizing / privateOptions
2022-10-12 01:53:57 -07:00
Michael Shamoon
7c39cd8960
Private widget options API
2022-10-11 12:16:18 -07:00
Ben Phelps
ba428cf3ae
fix docker service discovery #343
2022-10-08 23:10:41 +03:00
Jason Fischer
9b7d6b196f
Allow widget field visibility to be configurable
2022-09-29 21:15:25 -07:00
Ben Phelps
4386999c38
further restructuring
2022-09-26 15:25:10 +03:00