1
0
mirror of https://github.com/rancher/steve.git synced 2025-05-09 16:36:38 +00:00
Commit Graph

523 Commits

Author SHA1 Message Date
renovate-rancher[bot]
cc13364cd7
chore(deps): update module github.com/rancher/lasso to v0.2.1 (release/v0.3) ()
* chore(deps): update module github.com/rancher/lasso to v0.2.1

* Include this module.

* Run the generator

* Revert "Run the generator"

This reverts commit 5f7ddaff50.

* Remove golang/mock

* go mod tidy wants the golang/mocks.

---------

Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
Co-authored-by: Eric Promislow <epromislow@suse.com>
2025-04-23 16:35:17 -07:00
renovate-rancher[bot]
ade706e0af
chore(deps): update module github.com/google/cel-go to v0.24.1 ()
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-04-23 15:49:47 -07:00
renovate-rancher[bot]
5f98ccf95b
chore(deps): update registry.suse.com/bci/bci-micro docker tag to v15.6 ()
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-04-22 16:38:55 -07:00
renovate-rancher[bot]
8ed2719f10
chore(deps): update module helm.sh/helm/v3 to v3.17.2 (release/v0.3) ()
* chore(deps): update module helm.sh/helm/v3 to v3.17.2

* Lock versions for k8s 0.30 and dependents.

---------

Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
Co-authored-by: Eric Promislow <epromislow@suse.com>
2025-04-22 16:38:14 -07:00
renovate-rancher[bot]
8ed7807c99
chore(deps): update module github.com/stretchr/testify to v1.10.0 (release/v0.3) ()
* chore(deps): update module github.com/stretchr/testify to v1.10.0

* Update go.sum

---------

Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
Co-authored-by: Eric Promislow <epromislow@suse.com>
2025-04-22 14:38:16 -07:00
renovate-rancher[bot]
cbc6951ed8
chore(deps): update module github.com/gorilla/websocket to v1.5.3 ()
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-04-22 13:43:39 -07:00
renovate-rancher[bot]
222de61057
chore(deps): update module github.com/adrg/xdg to v0.5.3 ()
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-04-22 13:34:01 -07:00
renovate-rancher[bot]
0ca29f420a
chore(deps): update module github.com/google/gnostic-models to v0.6.9 ()
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-04-22 13:33:23 -07:00
renovate-rancher[bot]
92b57d18cd
chore(deps): update module github.com/urfave/cli to v1.22.16 ()
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-04-22 13:32:04 -07:00
Sakala Venkata Krishna Rohit
ec98bbb1fe
Add log message to log the error from http client () 2025-04-14 12:37:26 -07:00
Tom Lebreux
534841cd8d
Fix "Unable to cancel request for *client.addQuery" warnings ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
* 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 ()
* Migrate the mocking library to uber's ()

* 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 ()
* 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 () 2025-01-11 12:26:28 +01:00
Silvio Moioli
b88abd9aa0
[v2.9] SQL cache backports ()
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 ()
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. ()
* [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 () ()
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 ()
* 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 ()
* 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 ()
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 ()
* 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 () 2024-09-11 16:01:53 -03:00
Tom Lebreux
096afba4f7
Bump Go to 1.22.7 () 2024-09-10 09:51:05 -04:00
Michael Bolot
61be17faa3
Merge pull request 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 ()
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 ()
* 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 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 () 2024-06-17 10:52:19 -04:00
Vardhaman Surana
d0f58fc918
Merge pull request 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