1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-01 23:03:28 +00:00
steve/pkg
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
..
accesscontrol fix role revision index for rolebindings that bind to clusterroles 2021-09-14 15:36:51 -07:00
aggregation Fix restart of steve aggregation 2021-08-16 22:05:50 -07:00
attributes Add ability to disallow methods per a schema attribute 2021-08-13 11:37:57 -07:00
auth Update to k8s v1.20 2020-12-08 16:33:32 -07:00
client feat: support k8s version less than 1.16 2021-11-25 16:16:20 +08:00
clustercache Switch clustercache to index by gvk not gvr 2020-10-23 13:57:57 -07:00
controllers/schema Remove noisy logging 2021-05-20 12:10:28 -07:00
debug Refactor 2020-01-30 22:37:59 -07:00
metrics Add metrics 2022-02-14 17:39:37 -07:00
podimpersonation Add ability to support registryOverride 2021-04-06 14:50:46 -07:00
proxy Strip impersonation headers prior to proxy call 2021-08-04 15:03:57 -07:00
resources Add field filtering for resources 2022-04-13 08:50:39 -07:00
schema Add ability to disallow methods per a schema attribute 2021-08-13 11:37:57 -07:00
server Add server version to websocket pings 2021-08-10 16:09:19 -07:00
stores Return websocket error and add logging for watches 2022-06-13 15:54:40 -07:00
summarycache Prevent write on closed channel 2022-03-02 19:19:02 -05:00
ui Update to new FrameOptions API from apiserver 2021-04-22 17:22:32 -07:00
version Initial commit 2019-08-04 10:41:32 -07:00