Darren Shepherd
d496dd31d1
Convert array/map of native types properly
2020-09-10 21:34:27 -07:00
Darren Shepherd
9b7fcc9a01
Use local scheme for parameter decoding
2020-09-09 15:19:21 -07:00
Darren Shepherd
e81a4e2c6e
Allow service account auth to work with Transport/WrapTransport set
2020-09-09 12:00:04 -07:00
Darren Shepherd
1b98deb6c9
Set x-forwarded-proto if unset and needed.
2020-09-08 14:30:46 -07:00
Darren Shepherd
cfcf1a5196
Support service accounts through the proxy by supporting bearer tokens
2020-09-06 21:30:17 -07:00
Darren Shepherd
f0b94379d1
Merge pull request #8 from ibuildthecloud/master
...
Don't return revision in counts and only return error/transitions states
2020-08-27 21:31:01 -07:00
Darren Shepherd
53e5a27ce7
Don't return revision in counts and only return error/transitions states
2020-08-27 21:28:37 -07:00
Darren Shepherd
4911ec913f
Support lookups where user.Info refers to a serviceaccount.
2020-08-11 10:59:02 -07:00
Darren Shepherd
6ebfa39af8
Metadata field should be create/update=true
2020-08-10 12:43:05 -07:00
Darren Shepherd
f3edb7357f
Bump to shell:v0.0.10
2020-08-07 15:21:03 -07:00
Darren Shepherd
a528c500cf
Set pod status to state
2020-08-03 19:52:04 -07:00
Darren Shepherd
dcea1db3d7
Remove clusters and helm release resources
2020-07-29 21:47:58 -07:00
Darren Shepherd
a3fbe499d1
testing
2020-07-24 01:42:00 -07:00
Darren Shepherd
f403507ea9
Always calculate state from current object, not cached object
2020-07-21 08:26:28 -07:00
Darren Shepherd
10b1eac592
Fix concurrent map access panic
2020-07-21 08:26:08 -07:00
Darren Shepherd
4e81175966
Reenabled events
2020-07-20 09:21:18 -07:00
Darren Shepherd
e27f384795
Only send counts every second if there is a change
2020-07-20 09:21:03 -07:00
Darren Shepherd
ece0f7bce5
Rename to RESTConfig
2020-07-19 13:56:34 -07:00
Darren Shepherd
969e1adfed
Add podimpersonation package
2020-07-19 13:55:34 -07:00
Darren Shepherd
34e6de07fb
Make notifier optional
2020-07-14 13:28:21 -07:00
Darren Shepherd
f4ef308923
Drop rancher auth
2020-07-14 13:27:58 -07:00
Darren Shepherd
33b6924291
Update imports for wranger-api
2020-07-14 13:27:47 -07:00
Darren Shepherd
a9c39ef89b
Support watching names and selector
2020-06-22 09:42:18 -07:00
Darren Shepherd
9571ce9890
Fix shell
2020-06-22 09:41:48 -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
4c61f95a6a
Don't redirect by default to dashboard
2020-06-12 14:17:57 -07:00
Darren Shepherd
d1a7dbb0b9
Shuffle around code and use rancher/apiserver
2020-06-11 21:51:19 -07:00
Darren Shepherd
2543926f99
Fix missing links on configmaps and secret
2020-06-10 21:18:22 -07:00
Darren Shepherd
8b9bea44c6
Don't cancel context of subscribe on method exit
2020-06-10 15:46:19 -07:00
Darren Shepherd
72db28d5ea
Fix map concurrent read/write
2020-06-08 13:10:07 -07:00
Darren Shepherd
2eb87bffc1
Add fields to cluster
2020-06-05 20:45:26 -07:00
Darren Shepherd
0849182bdd
Ensure that userpreferences always works.
2020-06-05 17:19:07 -07:00
Darren Shepherd
b60484bf2e
Add support for listing helm releases
2020-06-05 13:30:33 -07:00
Darren Shepherd
445acdc240
Increase security around cluster shell
2020-06-02 08:51:42 -07:00
Darren Shepherd
3eba71d06b
Add kubectl shell support
2020-06-01 15:59:38 -07:00
Darren Shepherd
d3ce9c1739
Add virtual clusters resource
2020-05-30 21:45:11 -07:00
Darren Shepherd
1336014def
Add authentication by default
2020-05-30 19:02:49 -07:00
Darren Shepherd
a8e9297258
Fix possible context leaks
2020-05-22 15:34:59 -07:00
Darren Shepherd
a48c49f660
Don't reuse summary informer after the informer is stopped
2020-05-22 15:34:43 -07:00
Darren Shepherd
9e4ed62a47
Don't return tables for puts
2020-05-18 09:38:24 -07:00
Darren Shepherd
4d0c8c332c
Allow factory options to be passed in
2020-05-16 22:25:31 -07:00
Darren Shepherd
bebae7637a
Remove dependency on generic.ControllerManager
2020-04-15 22:49:45 -07:00
Dan Ramich
f620bd48b5
Drop things from the queue when completed
2020-04-15 17:46:35 -07:00
Darren Shepherd
4645d8df16
Don't consider x-forwarded-port for the value of HTTP HOST
2020-04-01 15:03:05 -07:00
Darren Shepherd
ccc92e7b19
Check for nil interface value
2020-03-30 17:17:32 -07:00
Darren Shepherd
420f62f642
Update to k8s 1.18
2020-03-26 13:58:51 -07:00
Darren Shepherd
7b434b1338
Fix panic in counts
2020-03-25 18:15:21 -07:00
Darren Shepherd
8f5ca57628
Set namespace to request namespace on create if namespace is empty
2020-03-24 15:10:17 -07:00
Darren Shepherd
1d84c1fc9f
Only start informers once in clustercache
2020-03-24 15:10:01 -07:00
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