Colleen Murphy
475f311d0b
cleanup: Remove unused switchstore store
...
Usage of the switchstore store was removed when the clusters resource
was removed in dcea1db
.
2022-10-27 14:27:13 -07:00
Michael Bolot
b73cc57b20
Adding validate phase to the CI
...
Adds a validate phase to the CI which runs a linter. Also fixes
linter issues discovered during the initial run
2022-10-14 15:21:17 -05:00
Colleen Murphy
11fe86ab7e
Make watch timeout configurable
...
By default, a watch times out after 30 minutes. For debugging purposes,
it's convenient if this can be decreased. Add an environment variable
CATTLE_WATCH_TIMEOUT_SECONDS to enable setting the timeout in seconds.
2022-06-13 16:01:55 -07:00
Colleen Murphy
ada5b33d98
Return websocket error and add logging for watches
...
Add debug logs and send websocket messages when the watch is closed
unexpectedly.
In addition to being helpful for debugging, the dashboard specifically
looks for a `resource.error` event containing the string "too old" in
order to trigger the watch to be resynced with a refreshed revision
number. Without this error returned, the dashboard will only see
`resource.stop` events and never change its behavior, continuing to try
to restart the watch with an incorrect resource version.
2022-06-13 15:54:40 -07:00
Ricardo Weir
e9472ecc34
Add metrics
2022-02-14 17:39:37 -07:00
michelia
42c575a009
Fixed errors in obtaining object relationships
...
Issue: https://github.com/harvester/harvester/issues/1857
2022-01-26 19:31:03 +08:00
CMC
fea67065db
feat: support k8s version less than 1.16
2021-11-25 16:16:20 +08:00
Darren Shepherd
0414d4acf5
If the user doesn't specify a resourceVersion default to "" not latest
2021-08-10 10:43:34 -07:00
Darren Shepherd
9f5d802708
Cleanup schema change reporting
2021-08-09 16:47:09 -07:00
Darren Shepherd
eba8358f2a
Fix issues when creating clusterrolebindings to namespaces objects
2021-07-23 23:46:03 -07:00
Darren Shepherd
991a2a1776
Don't mask errors when doing by name lookups
2021-07-23 23:45:13 -07:00
Darren Shepherd
3df58506a2
Add ability to get dynamic client
2020-10-30 16:08:28 -07:00
Darren Shepherd
a8ce2f5ec8
Ensure we send an error when the resource version is too old.
2020-09-27 17:51:52 -07:00
Darren Shepherd
9b7fcc9a01
Use local scheme for parameter decoding
2020-09-09 15:19:21 -07:00
Darren Shepherd
a3fbe499d1
testing
2020-07-24 01:42:00 -07:00
Darren Shepherd
4e81175966
Reenabled events
2020-07-20 09:21:18 -07:00
Darren Shepherd
34e6de07fb
Make notifier optional
2020-07-14 13:28:21 -07:00
Darren Shepherd
a9c39ef89b
Support watching names and selector
2020-06-22 09:42:18 -07:00
Darren Shepherd
d796ed60a7
Show resource relationships
2020-06-22 08:49:49 -07:00
Darren Shepherd
5c768508bb
Fix broken create.
2020-06-12 14:18:13 -07:00
Darren Shepherd
d1a7dbb0b9
Shuffle around code and use rancher/apiserver
2020-06-11 21:51:19 -07:00