Tom Lebreux
9741028761
[v0.3] Migrate SQL cache to Steve ( #474 )
...
* Migrate SQLcache to Steve
* Fix imports
* go mod tidy
* Fix lint errors
* Remove lasso SQL cache mentions
* Fix more CI lint errors
* fix goimports
Signed-off-by: Silvio Moioli <silvio@moioli.net>
* Fix more linting errors
* More lint fix
* Add envtest support
---------
Signed-off-by: Silvio Moioli <silvio@moioli.net>
Co-authored-by: Silvio Moioli <silvio@moioli.net>
2025-02-04 12:41:59 -05:00
Silvio Moioli
6b5543e762
[v2.9] sort typeSpecificIndexedFields lexicographically ( #438 )
2025-01-11 12:26:28 +01:00
Silvio Moioli
b88abd9aa0
[v2.9] SQL cache backports ( #431 )
...
Co-authored-by: Tom Lebreux <me@tomlebreux.com>
Co-authored-by: Tom Lebreux <tom.lebreux@suse.com>
2025-01-10 08:48:48 +01:00
Eric Promislow
c4ebbe629f
[v2.9] Backport PR 271: Index more sqlite cache fields. ( #315 )
...
* [v2.9] Backport PR 271: Index more sqlite cache fields.
* go mod tidy
Signed-off-by: Silvio Moioli <silvio@moioli.net>
---------
Signed-off-by: Silvio Moioli <silvio@moioli.net>
Co-authored-by: Silvio Moioli <silvio@moioli.net>
2024-10-31 10:48:05 -07:00
Silvio Moioli
dd27bd0c8d
[v2.9] Virtual Resource filters ( #288 )
...
Adds logic which adds virtual fields resources. This allows these fields
to be sorted/filtered on when the SQL cache is enabled. Id and
metadata.state.name were added as the first two fields.
Co-authored-by: Michael Bolot <michael.bolot@suse.com>
2024-10-02 14:59:54 +02:00
Felipe Gehrke
aacb5b82de
[Release v2.9] Adding Group, Version, Kind in Update proxy_store.go ( #282 )
...
* added changes from 42823 into v2.9
* backporting partition store change
2024-09-26 18:02:12 -03:00
Felipe Gehrke
79304d93b4
adding changes from issue 42788 into release v2.9 ( #281 )
2024-09-11 16:01:53 -03:00
Silvio Moioli
0841e03c57
sql: bugfix: return total resource count correctly ( #236 )
...
* sql: drop dead code
Signed-off-by: Silvio Moioli <silvio@moioli.net>
* sql: bugfix: return total resource count correctly
Signed-off-by: Silvio Moioli <silvio@moioli.net>
* adapt tests
Signed-off-by: Silvio Moioli <silvio@moioli.net>
* adapt mocks
Signed-off-by: Silvio Moioli <silvio@moioli.net>
* TEMP: remove this when bumping lasso to include https://github.com/rancher/lasso/pull/84
Signed-off-by: Silvio Moioli <silvio@moioli.net>
* Use latest lasso instead of fork
---------
Signed-off-by: Silvio Moioli <silvio@moioli.net>
Co-authored-by: Tom Lebreux <tom.lebreux@suse.com>
2024-07-05 16:17:16 -04:00
Silvio Moioli
88fd70abbd
sql: drop dead code
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-07-05 16:08:56 +02:00
vardhaman22
dae842ea98
updated wrangler from v2 to v3
...
also updated k8s dependencies to v0.30.1
2024-06-05 22:53:08 +05:30
Silvio Moioli
7a84620e8b
SQLite backed cache ( #223 )
...
This uses SQLite-backed informers provided by Lasso with https://github.com/rancher/lasso/pull/65 to implement Steve API (/v1/) functionality.
This new functionality is available behind a feature flag to be specified at Steve startup
See https://confluence.suse.com/pages/viewpage.action?pageId=1359086083
Co-authored-by: Ricardo Weir <ricardo.weir@suse.com>
Co-authored-by: Michael Bolot <michael.bolot@suse.com>
Co-authored-by: Silvio Moioli <silvio@moioli.net>
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-06-05 16:17:12 +02:00