Colleen Murphy
1d4a130974
Add unit tests for partition listing
2022-12-14 09:13:58 -08:00
Michael Bolot
8fdf67a444
Merge pull request #58 from MbolotSuse/count-diff
...
Changing count watch to only return changed counts
2022-12-14 10:15:18 -06:00
Michael Bolot
9757b4eaef
Merge pull request #65 from MbolotSuse/dyn-listener-bump
...
Bump dynamic listener to v0.3.5
2022-12-13 17:15:19 -06:00
Michael Bolot
c8fb653ca3
Bump dynamic listener to v0.3.5
...
Bumps dynamic listener to v0.3.5. Adds a small arg change to
account for this version bump which addresses an issue caused by
the new version
2022-12-13 16:12:33 -06:00
Colleen Murphy
23fdd030e6
Add tests for RBAC partitioner
2022-12-13 10:09:30 -08:00
Michael Bolot
37ee7bf3bd
Merge pull request #67 from MbolotSuse/view-fix
...
Changing view links
2022-12-09 13:27:05 -06:00
Michael Bolot
fe51b08681
Tests for "Fixing view link for management crds"
2022-12-06 09:04:56 -06:00
Michael Bolot
b70a8d0548
Fixing view link for management crds
2022-12-06 09:04:31 -06:00
Jiaqi Luo
5595803a7b
Merge pull request #66 from jiaqiluo/support-125
2022-12-05 14:34:04 -07:00
Jiaqi Luo
3df95d23ef
bump k8s and rancher modules to support 1.25
2022-12-05 12:42:41 -07:00
Kevin Joiner
e0480051d9
Merge pull request #61 from KevinJoiner/schema-wather
...
Updates Schemas watch logic.
2022-12-02 10:29:04 -05:00
Colleen Murphy
a10fe811f5
Merge pull request #60 from cmurphy/cleanup
...
Cleanup and docs
2022-10-31 11:25:08 -07:00
Colleen Murphy
b16d502fc7
docs: Add docs for partition and proxy store
2022-10-31 10:34:41 -07:00
Kevin Joiner
1f2f28e0e2
Add go generate to CI
2022-10-27 22:18:32 -04:00
Kevin Joiner
72ab913c4c
Updates Schemas watch logic.
...
Updated logic used to decide when and what schema events are sent
during a watch.
2022-10-27 22:12:39 -04:00
Colleen Murphy
ea61c2187a
cleanup: Remove unused namespace constraint
...
The use of AddNamespaceConstraint was removed in e35b8304 of
rancher/rancher, so there is no possibility of there being a namespace
constraint in the request context. Remove the unused function and the
unused codepath from the rbac store.
2022-10-27 14:27:13 -07:00
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
Colleen Murphy
70ea282861
cleanup: Fix API root header
...
The header defined in RFC 9110[1] is "Accept", not "Accepts". This
change corrects the route filter. Since this API is not documented and
the header was plainly incorrect, no attempt is made at backwards
compatibility.
[1] https://www.rfc-editor.org/rfc/rfc9110.html#name-accept
2022-10-27 14:27:13 -07:00
Colleen Murphy
18afa8868f
cleanup: Remove unused function
...
HandlerFromConfig was not used in steve or rancher.
2022-10-27 14:27:13 -07:00
Colleen Murphy
95da447d90
cleanup: remove duplicate apiserver import
...
Remove duplicate import and make aliasing of other apiserver imports
consistent throughout steve.
2022-10-27 14:27:13 -07:00
Michael Bolot
44e5b8dc3d
Merge pull request #59 from MbolotSuse/ver-upd-pipeline
...
Steve Pipeline, Go Version updates
2022-10-27 16:22:34 -05:00
niusmallnan
f8261f5f6e
K-EXPLORER: bump golang 1.19 and lasso
2022-10-19 11:46:02 +08: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
Michael Bolot
7e4a51bda0
Adding build/test phase for CI
2022-10-14 15:02:53 -05:00
Michael Bolot
7312fe9ef3
Bump go to version 1.19
2022-10-14 08:52:00 -05:00
Michael Bolot
5cb45b9dcd
Adding test for sending counts on diffs
2022-10-03 16:19:31 -05:00
Michael Bolot
2eb41a9db7
Only return changed counts, and send initial count
...
Three main changes:
- When a count changes, only send that count. This makes the
count socket significantly more usable
- The count buffer will now send a count right away. This allows
a message to launch wihtout an inital buffered wait period
- The count buffer now sends messages every 5 seconds instead of 1
2022-10-03 16:12:11 -05:00
Michael Bolot
06584d207d
Merge pull request #55 from MbolotSuse/access-mem-fix
...
Adding logic to limit number of cached schemas
2022-09-28 15:43:12 -05:00
Michael Bolot
b449b93643
Adding tests
...
Adds tests for:
- Cache clearing functionality
- Very basic schema generation
2022-08-26 09:28:21 -05:00
Michael Bolot
115eb31f57
Adding logic to limit number of cached schemas
...
Adds logic to ensure that only one schema/access set
is cached for each user. This should improve memory
consumption
2022-08-26 09:27:57 -05:00
niusmallnan
26e14afc0b
K-EXPLORER: bump shell image v0.1.18
2022-08-19 17:28:37 +08:00
niusmallnan
f91b3045ca
K-EXPLORER: Merge branch 'master' 647cba2be7
into ke/v0.2
2022-08-19 17:09:28 +08:00
niusmallnan
d493afc3db
K-EXPLORER: delete clusterrole when dashboard shell pod is deleted
...
refer to #cnrancher/pandaria/issues/2179
2022-08-09 09:11:45 +08:00
Caleb Bron
647cba2be7
Merge pull request #56 from MbolotSuse/auth
...
Adding user authentication failed context value
2022-08-05 13:00:26 -07:00
Michael Bolot
7b5a48f871
Adding user authentication failed context value
2022-08-04 20:39:40 -05:00
niusmallnan
591cb7816f
K-EXPLORER: Merge 3d379c3dd8
into ke/v0.2
2022-08-03 09:40:13 +08:00
niusmallnan
e56abbdc81
K-EXPLORER: support --insecure-skip-tls-verify like kubectl
2022-07-22 16:17:34 +08:00
Kinara Shah
dbf9ef88ce
Merge pull request #54 from kinarashah/124
2022-06-28 16:54:27 -07:00
Kinara Shah
3c8925cc12
wait for svc account secret to be populated with token
2022-06-28 16:25:00 -07:00
Kinara Shah
3d379c3dd8
Merge pull request #53 from jiaqiluo/support-1-24
2022-06-24 16:16:20 -07:00
Jiaqi Luo
485ebe48a9
generate a service account token to make it work in 1.24
2022-06-24 15:47:22 -07:00
Kinara Shah
d26d34631a
Merge pull request #50 from ebauman/v1.24.0
2022-06-24 15:44:43 -07:00
Colleen Murphy
22b03d364d
Merge pull request #49 from cmurphy/watch-logging-head
...
Make watches debuggable
2022-06-13 17:18:54 -07: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
Eamon Bauman
3ccc837e84
webhook setup requires rest.Config now
2022-05-25 18:49:28 -05:00
Eamon Bauman
9aa80d900e
missed a few packages
2022-05-25 18:49:16 -05:00
Eamon Bauman
570fe24632
v1.24.0
2022-05-25 18:34:56 -05:00
niusmallnan
62d6de019d
K-EXPLORER: bump golang 1.17
2022-05-07 13:41:14 +08:00
niusmallnan
ddca6fb48f
K-EXPLORER: Merge rancher v2.6.5-rc8 base into ke/v0.2
2022-05-07 13:38:30 +08:00