1
0
mirror of https://github.com/rancher/steve.git synced 2025-07-30 22:15:10 +00:00
Commit Graph

324 Commits

Author SHA1 Message Date
Darren Shepherd
3bb1459a8b Watch by name should use the admin client 2020-03-21 22:33:24 -07:00
Darren Shepherd
2daf0ce8ee Don't send access details in the schema as it's too large 2020-03-21 22:31:13 -07:00
Darren Shepherd
4c13c6bd95 Use ligherweight summarized objects for clustercache 2020-03-21 07:51:13 -07:00
Darren Shepherd
72eb648550 Return 401 on auth failure 2020-03-21 07:49:44 -07:00
Darren Shepherd
c61e788d6e Don't use slow strings.Compare 2020-03-21 07:49:17 -07:00
Darren Shepherd
b78a8b03dd Check for columns for non-watchable types too 2020-03-18 12:17:40 -07:00
Darren Shepherd
eda3ecf987 Fix counts 2020-03-14 11:46:20 -07:00
Darren Shepherd
d457428bff Add states to counts 2020-03-12 19:22:37 -07:00
Darren Shepherd
4f6e4d4e16 Create namespace on demand for rancher pref store 2020-03-12 14:01:52 -07:00
Darren Shepherd
c7a5c4f069 Only drop API type if replacement type can be found 2020-03-12 14:01:40 -07:00
Darren Shepherd
655b7a85ee Add userpreferences 2020-03-12 13:14:47 -07:00
Darren Shepherd
0ad6c2aba1 Drop non-preferred version and version in the schema id 2020-03-10 23:12:04 -07:00
Darren Shepherd
d6c6de17bd Transform table to obj on create 2020-03-10 13:30:46 -07:00
Darren Shepherd
02caeafb5d Support gzip encoding 2020-03-09 23:17:40 -07:00
Caleb Bron
7053fa63d4 Routes includes apis path prefix 2020-03-02 16:04:13 -07:00
Caleb Bron
b61c701f53 Allow UIs apikeys path by splitting steves api paths 2020-03-02 10:48:23 -07:00
Darren Shepherd
6dafed731f RBAC performance improvements 2020-03-01 22:23:36 -07:00
Darren Shepherd
283790802c Add back missing subscribe 2020-03-01 09:00:08 -07:00
Darren Shepherd
68ed467231 Ensure redirector supports Hijacking if possible 2020-02-28 09:30:25 -07:00
Darren Shepherd
9da27b7130 Set UseEncodedPath 2020-02-27 21:30:55 -07:00
Darren Shepherd
6b6ff53373 Add namespace filtering 2020-02-27 10:34:51 -07:00
Darren Shepherd
ae42b9422b Fix compilation error 2020-02-26 13:51:48 -07:00
Darren Shepherd
0846768069 CSRF Cookie fixes
- Only set the cookie if it doesn't exist
- Always mark it secure (it was previously getting re-sent as not)
- Check the value against the header even if there was no value (so that
a request that is missing the cookie but should have had one fails).
2020-02-26 12:35:24 -07:00
Darren Shepherd
e2e87cda53 Fix change events 2020-02-25 21:24:00 -07:00
Darren Shepherd
82c7877ba3 Add dashboard to steve 2020-02-21 22:18:58 -07:00
Darren Shepherd
c069f32bbe Fix x-api-host when port is set 2020-02-21 13:17:42 -07:00
Darren Shepherd
5b94b82bc6 Small fixes and enhancements 2020-02-20 16:06:43 -07:00
Darren Shepherd
4218314653 Add state fields to metadata 2020-02-14 16:20:04 -07:00
Darren Shepherd
51274d07e7 Fix compile error 2020-02-10 21:02:42 -07:00
Darren Shepherd
3a8e216ec8 Rename variable 2020-02-10 20:54:33 -07:00
Darren Shepherd
433a39dcab Deal with namespace bindings to cluster scoped resources 2020-02-10 20:53:45 -07:00
Darren Shepherd
d1ce16f351 Don't ever sent data == nil 2020-02-10 20:51:48 -07:00
Darren Shepherd
e64845dcb9 Full dynamic RBAC and pagination 2020-02-10 10:18:20 -07:00
Darren Shepherd
600f875fce Show server side columns 2020-02-08 13:04:20 -07:00
Darren Shepherd
9f771dcf65 RBAC caching 2020-02-08 13:03:57 -07:00
Darren Shepherd
87a107e23e Remove unused namespace field 2020-02-04 21:31:02 -07:00
Darren Shepherd
b51e14edfb Allow passing in access control impl to the server 2020-02-04 14:11:21 -07:00
Darren Shepherd
10418db494 Move reserved fields to _ 2020-02-03 14:54:39 -07:00
Darren Shepherd
c7ac7f35af Add impersonation support 2020-02-03 14:28:25 -07:00
Darren Shepherd
a32064f238 lock to avoid panic 2020-02-03 11:30:34 -07:00
Darren Shepherd
d80ba54e48 Manager timeouts and ratelimit 2020-02-01 22:13:32 -07:00
Darren Shepherd
a66ef65fd9 Fix incorrect handler setup 2020-02-01 15:58:24 -07:00
Darren Shepherd
b61ac7d555 Add ability to start on controllers when type is seen 2020-01-31 21:29:43 -07:00
Darren Shepherd
91dde5ead6 Refactor context to be sharable 2020-01-31 15:10:47 -07:00
Darren Shepherd
8b42d0aff8 Refactor 2020-01-30 22:37:59 -07:00
Darren Shepherd
19c6732de0 Vendor 2020-01-30 22:01:21 -07:00
Darren Shepherd
c7d1ea5729 Fix counts delete 2019-09-11 14:27:44 -07:00
Darren Shepherd
fab677b2ec Steve! 2019-09-11 14:05:00 -07:00
Darren Shepherd
9e4f93989f Switch schema ID to gvk and plural name to gvr 2019-09-11 11:03:22 -07:00
Darren Shepherd
ef235af49c Fix update/patch and add webhook auth 2019-09-11 10:32:01 -07:00
Darren Shepherd
7f5d248680 Fix off by one and 404 2019-09-09 14:34:40 -07:00
Darren Shepherd
f81721ef93 Improve counts and columns 2019-09-09 14:28:55 -07:00
Darren Shepherd
5142b5c386 Cleanup counts 2019-08-16 11:40:42 -07:00
Darren Shepherd
b059dcca00 Cleanup around APIRoots 2019-08-14 13:51:13 -07:00
Darren Shepherd
6d2b0f54ca Make / and /v1 work 2019-08-14 13:39:08 -07:00
Darren Shepherd
59a6ee577e Add apigroups 2019-08-14 13:13:26 -07:00
Darren Shepherd
f2c0706220 Add format to columns 2019-08-14 11:16:37 -07:00
Darren Shepherd
583309b969 Add column support 2019-08-14 11:08:34 -07:00
Darren Shepherd
db650d6c19 Switch schema IDs to be dot separated 2019-08-13 19:00:29 -07:00
Darren Shepherd
ad67c46055 Refactor schema IDs and paths 2019-08-13 16:36:03 -07:00
Darren Shepherd
ecc80ef1e1 Counts per namespace 2019-08-12 21:32:57 -07:00
Darren Shepherd
5671b6c3f9 Watch counts 2019-08-12 16:47:23 -07:00
Darren Shepherd
4016d67f8b Add /v1/counts 2019-08-12 15:15:19 -07:00
Darren Shepherd
674f957b8b Delete unused code 2019-08-12 13:02:03 -07:00
Darren Shepherd
9e67a3ceb8 Move type => _type for k8s objects 2019-08-08 16:39:37 -07:00
Darren Shepherd
965b94a32d Actually send event data 2019-08-08 16:29:45 -07:00
Darren Shepherd
a8e6947251 Preserve type field if needs be 2019-08-07 22:43:43 -07:00
Darren Shepherd
f4898c6187 Add view/update links for resource that go to k8s proxy 2019-08-07 22:43:10 -07:00
Darren Shepherd
8fe5d55dac Make listen-address configurable 2019-08-07 22:42:15 -07:00
Darren Shepherd
71faff9d2a Add k8s proxy 2019-08-07 22:41:31 -07:00
Darren Shepherd
24e6192504 Convert to string to fix nil value 2019-08-07 14:59:00 -07:00
Darren Shepherd
f3aa58babd Disable counts on schema 2019-08-07 09:07:27 -07:00
Darren Shepherd
6023e23a0d Change routes to all be under /v1 2019-08-07 09:07:11 -07:00
Darren Shepherd
c0299c1506 Initial commit 2019-08-04 10:41:32 -07:00