Sakala Venkata Krishna Rohit
ec98bbb1fe
Add log message to log the error from http client ( #598 )
2025-04-14 12:37:26 -07:00
Tom Lebreux
534841cd8d
Fix "Unable to cancel request for *client.addQuery" warnings ( #588 )
...
Co-authored-by: Alejandro Ruiz <alejandro.ruiz@suse.com>
2025-04-04 12:45:04 -04:00
renovate-rancher[bot]
c2fe79901d
chore(deps): update module modernc.org/sqlite to v1.36.0 ( #530 )
...
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-27 17:11:32 -05:00
renovate-rancher[bot]
3cb32fa8cb
chore(deps): update module golang.org/x/sync to v0.11.0 ( #509 )
...
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-23 11:01:48 -08:00
renovate-rancher[bot]
f3572adbc5
chore(deps): update module github.com/rancher/saml to v0.4.14 ( #508 )
...
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-23 11:01:36 -08:00
renovate-rancher[bot]
f77cd716a3
chore(deps): update module modernc.org/sqlite to v1.35.0 ( #481 )
...
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-14 07:20:32 -05:00
renovate-rancher[bot]
7f1c1da5c5
chore(deps): update module go.uber.org/mock to v0.5.0 ( #476 )
...
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-14 07:19:56 -05:00
renovate-rancher[bot]
bb2e896044
chore(deps): update k8s.io/utils digest to 24370be ( #480 )
...
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-13 10:06:29 -08:00
renovate-rancher[bot]
009da96053
chore(deps): update module github.com/prometheus/client_model to v0.6.1 ( #441 )
...
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-13 10:05:32 -08:00
renovate-rancher[bot]
b3537074a5
chore(deps): update module github.com/rancher/dynamiclistener to v0.6.1 ( #369 )
...
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-12 09:18:23 -08:00
renovate-rancher[bot]
32ac8a8815
chore(deps): update module github.com/urfave/cli/v2 to v2.27.5 ( #371 )
...
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-12 09:17:52 -08:00
renovate-rancher[bot]
b2edae6527
chore(deps): update dependency go to v1.23.6 ( #367 )
...
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-11 13:48:51 -08:00
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
Tom Lebreux
d50101289f
[v0.3] Migrate the mocking library to uber's ( #475 )
...
* Migrate the mocking library to uber's (#291 )
* Migrate from golang/mock to uber/mock.
* Update go.mod
* Continue migration to uber/mock.
* Tweaks from running the go.uber.mock's mockgen.
* go generate ./...
---------
Co-authored-by: Eric Promislow <epromislow@suse.com>
2025-02-03 15:16:36 -05:00
Vatsal Parekh
458a12d2d7
[release/v0.3] Upgrade go version to 1.23 ( #449 )
...
* Upgrade go version to 1.23
Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>
* Upgrade golangci-lint to 1.63.4
Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>
---------
Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>
2025-01-29 09:05:43 -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
Josh Meranda
a2116cfa52
add release workflow ( #327 )
...
Co-authored-by: joshmeranda <joshua.meranda@gmail.com>
2024-11-15 12:21:28 -05: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
Michael Bolot
ddd2e373b7
Re-adding formatter when SQL cache is enabled ( #300 ) ( #312 )
...
Previously, the formatter for state/relationships was disabled when the
sql cache was enabled, since a transform function was adding those
values before they were added to the cache. However, the get/watch calls
currently don't use the cache, causing the state/relationships to be
missing.
2024-10-31 12:41:38 -05:00
nflynt
6e30359c65
[v2.9] Refactor ID based partitioning, add unit tests ( #310 )
...
* Refactor ID based partitioning, add unit tests
This resolves an issue where the requested namespace filter was not
always honored.
* Correct naming issues to appease the linter
2024-10-29 09:27:17 -04:00
Diogo Souza
7dafe0c662
2.9 helm data formatter ( #306 )
...
* changing secret and configmap formatters to return decoded helm data if includeHelmData query parameter is present
* adding tests for gzip magic header
* update gomod
2024-10-28 15:55:40 -05: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
Tom Lebreux
096afba4f7
Bump Go to 1.22.7 ( #275 )
2024-09-10 09:51:05 -04:00
Michael Bolot
61be17faa3
Merge pull request #254 from MbolotSuse/schema-less-2.9
...
[2.9] Handle Schema-less CRDs
2024-08-06 08:39:20 -05:00
Michael Bolot
1464a203c3
Adding changes from code review
2024-08-05 14:47:51 -05:00
Eric Promislow
643002b00f
Add unit tests for schemaless CRDs
2024-08-05 14:47:45 -05:00
Eric Promislow
244a1993e0
Handle schema-less CRDs
2024-08-05 14:47:38 -05:00
Alejandro Ruiz
435e220795
fix(accesscontrol): CacheKey could not be stable
2024-07-31 10:24:23 +02:00
Tom Lebreux
4787160614
Bump wrangler to v3.0.0 ( #239 )
...
and other dependencies that also bumps wrangler
2024-07-09 09:08:09 -04: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
Silvio Moioli
cb311a8ce5
sql: remove spurious log line
...
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-07-05 10:19:07 +02:00
Michael Bolot
22a06dd14f
Merge pull request #230 from MbolotSuse/apigroups-fix
...
Adding APIGroups back to the schema
2024-07-03 08:25:54 -05:00
Michael Bolot
e7a76d14f0
Adding APIGroups back to the schema
...
Prior schema calculations started with openapiv2 models which included a
model for APIGroups. However, new schema calculations use
ServerGroupsAndResources first, which omitted these values. This
re-adds this type using a static schema.
2024-07-02 13:27:04 -05:00
Tom Lebreux
9ac9be9c0e
Fix missing fields in schema definition endpoint ( #215 )
2024-06-17 10:52:19 -04:00
Vardhaman Surana
d0f58fc918
Merge pull request #224 from vardhaman22/k8s-1.30
...
k8s 1.30 dependencies update
2024-06-11 23:24:28 +05:30
vardhaman22
4f4dae49af
updated golangci lint version to v1.59.0
2024-06-05 23:09:37 +05:30
vardhaman22
8f3d2e8f21
go generate and go mod tidy
2024-06-05 23:08:15 +05:30
vardhaman22
c9babc682d
updated apiserver and dynamiclistener
2024-06-05 23:03:40 +05:30
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
nflynt
4cf4e6b385
Merge pull request #218 from nflynt/drone2gha
...
Migrate from Drone to GHA
2024-05-28 14:29:26 -04:00
nflynt
3e6d25417d
Pin golangci by commit ID rather than version tag
...
Co-authored-by: Tom Lebreux <me@tomlebreux.com>
2024-05-28 10:13:21 -04:00
Nicholas Flynt
f3d2a72abd
Remove drone integration
...
Note: this also removes the FOSSA step! Be sure we create an issue
to re-add this at a later date, if we decide to do that.
2024-05-24 13:04:38 -04:00
Nicholas Flynt
9137045d72
Take a stab at getting golangci-lint working
2024-05-24 12:50:53 -04:00
Nicholas Flynt
4bd1e2e7d8
First stab at a GHA for build/test
2024-05-24 12:35:07 -04:00
Michael Bolot
ce206c942e
Merge pull request #202 from MbolotSuse/schema-fix-1
...
Fixing schema definitions bugs
2024-05-15 09:04:42 -05:00