1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-19 09:50:52 +00:00
Commit Graph

593 Commits

Author SHA1 Message Date
Darren Shepherd
d8c3e21805 Ensure controller is scoped to namespace 2020-08-26 15:33:30 -07:00
Darren Shepherd
9a28dd616d Set creator field again from norman 2020-08-26 13:57:26 -07:00
Darren Shepherd
5fb9a7f204 Update vendor 2020-08-26 13:57:26 -07:00
Darren Shepherd
b715968cde Merge pull request #382 from rmweir/empty-array-fix
Differentiate between empty and nil arrays
2020-08-20 15:53:44 -07:00
rmweir
5a269325d1 Differentiate between empty and nil arrays
Prior, empty array were converted to nil. In some cases the
difference between a nil and empty array are not arbitrary.
Now, empty arrays will be converted to empty interface arrays
and nil array will be converted to nil interface arrays.
2020-08-20 15:32:34 -07:00
Darren Shepherd
261460ee90 Merge pull request #380 from ibuildthecloud/master
Rename blacklist to skipNames
2020-08-20 10:20:41 -07:00
Darren Shepherd
eb176f062b Rename blacklist to skipNames 2020-08-20 10:17:32 -07:00
Darren Shepherd
a173b50371 Merge pull request #378 from ibuildthecloud/master
Increase timeouts for etcd
2020-08-08 00:01:19 -07:00
Darren Shepherd
09bcb80b32 Increase timeouts for etcd 2020-08-07 23:56:26 -07:00
Darren Shepherd
071be464e4 Merge pull request #375 from ibuildthecloud/master
Move k8scheck to wrangler
2020-08-01 23:36:31 -07:00
Darren Shepherd
067727a370 Move k8scheck to wrangler 2020-08-01 23:32:09 -07:00
Darren Shepherd
1697d43171 Merge pull request #374 from ibuildthecloud/master
Support unwrapping errors to find httperror.APIError
2020-07-27 23:05:19 -07:00
Darren Shepherd
559ff3e820 Support unwrapping errors to find httperror.APIError 2020-07-27 22:55:37 -07:00
Darren Shepherd
b3163ad4eb Merge pull request #373 from ibuildthecloud/master
Updates to generator to improve speed
2020-07-14 12:56:11 -07:00
Darren Shepherd
31e64b1a62 Updates to generator to improve speed 2020-07-14 12:26:39 -07:00
Darren Shepherd
7fbc7ba7ce Update vendor 2020-07-14 12:26:39 -07:00
Darren Shepherd
9bd3c4fd35 Merge pull request #372 from ibuildthecloud/master
Updates to make rancher/types move work
2020-07-12 00:07:04 -07:00
Darren Shepherd
a7e7e75b2c Update vendor 2020-07-11 23:53:34 -07:00
Darren Shepherd
86ca75f99f Use newer moq that works better with modules 2020-07-11 23:53:16 -07:00
Darren Shepherd
c676030ce4 Updates to make rancher/types move work 2020-07-11 10:01:57 -07:00
Darren Shepherd
e5c98bf4da Remove unneeded imports in code templates 2020-07-11 10:01:19 -07:00
Darren Shepherd
00d350370e Merge pull request #370 from rmweir/proxy-store-context
Change context in realWatch
2020-06-09 15:02:58 -07:00
rmweir
b2f581c82a Change context in realWatch
Using the watch is ultimately share and should use the store's
context. Using the requests context may cause the watch to end
too early.
2020-06-09 14:02:14 -07:00
Darren Shepherd
f53cae1616 Merge pull request #363 from ibuildthecloud/master
Rebase on lasso
2020-05-16 22:03:25 -07:00
Darren Shepherd
d8b2637797 Update vendor 2020-05-16 21:59:56 -07:00
Darren Shepherd
4b0a7e6b91 Rebase on lasso 2020-05-16 21:59:53 -07:00
Darren Shepherd
07a7713a06 Merge pull request #360 from ibuildthecloud/master
Sync URL parsing with Steve
2020-04-16 23:39:35 -07:00
Darren Shepherd
9ef6e7553b Sync URL parsing logic with Steve 2020-04-16 23:02:30 -07:00
Darren Shepherd
eb806263e8 Merge pull request #358 from ibuildthecloud/master
Update to k8s 1.18
2020-03-26 13:19:49 -07:00
Darren Shepherd
97de11d6ac Update to go 1.13 2020-03-26 13:17:36 -07:00
Darren Shepherd
f677c5bc3d Update to k8s 1.18 2020-03-26 13:07:32 -07:00
Darren Shepherd
03ea93742b Update vendor 2020-03-26 13:07:03 -07:00
Darren Shepherd
b5f2e33b54 Merge pull request #357 from ibuildthecloud/master
Expire RBAC cache earlier on watches
2020-03-21 16:10:28 -07:00
Darren Shepherd
b2d111fe7f Expire RBAC cache earlier on watches 2020-03-21 16:03:06 -07:00
Darren Shepherd
586aa558be Merge pull request #356 from ibuildthecloud/master
Add programmatic expiration of access control
2020-03-20 16:25:52 -07:00
Darren Shepherd
21a1793bd6 Add programmatic expiration of access control 2020-03-20 16:22:05 -07:00
Sebastiaan van Steenis
5c74e1ee1e Move debug log to trace 2020-03-11 20:37:25 -07:00
Darren Shepherd
a1411b4e62 Merge pull request #354 from ibuildthecloud/master
CRD creation should return error
2020-03-05 21:31:03 -07:00
Darren Shepherd
e03aedc397 CRD creation should return error 2020-03-05 21:29:41 -07:00
Darren Shepherd
1ee4db8c92 Merge pull request #353 from dramich/reflect
Update cluster_check to use interface if available
2020-03-02 10:25:14 -07:00
Dan Ramich
e40cd8f347 Update cluster_check to use interface if available
Problem:
cluster_check relies on reflect which is slow and causes a large
performance hit which is especially noticable on restart

Solution:
Add a new interface ObjectClusterName that objects can implement so
reflect isn't used for that type
2020-03-02 10:21:55 -07:00
Darren Shepherd
40d836d518 Merge pull request #352 from ibuildthecloud/master
Performance enhancement by using strings.Builder or bytes.Buffer
2020-03-01 21:46:21 -07:00
Darren Shepherd
21eb3aa63c Performance enhancement by using strings.Builder or bytes.Buffer 2020-03-01 21:33:11 -07:00
Darren Shepherd
69ad517ced Merge pull request #349 from vincent99/master
CSRF Cookie fixes
2020-02-26 12:30:07 -07:00
Vincent Fiduccia
f894f8fc5d 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-24 15:50:44 -07:00
Darren Shepherd
9bd5ca9698 Merge pull request #348 from ibuildthecloud/clientconfig
Fix x-api-host when setting ports
2020-02-21 13:30:08 -07:00
Darren Shepherd
b16f3160d5 Fix x-api-host when setting ports 2020-02-21 13:17:25 -07:00
Darren Shepherd
bf773d0210 Merge pull request #347 from ibuildthecloud/clientconfig
Fix non-Linux build
2020-02-12 15:26:55 -07:00
Darren Shepherd
842289e01e Fix non-Linux build 2020-02-12 15:26:36 -07:00
Darren Shepherd
041e160497 Merge pull request #345 from ibuildthecloud/clientconfig
Refactor k8s startup to return ClientConfig
2020-02-12 14:32:23 -07:00