1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-30 21:50:05 +00:00
Commit Graph

156 Commits

Author SHA1 Message Date
renovate-rancher[bot]
dd3a8b3a96
chore(deps): update module github.com/stretchr/testify to v1.11.1 2025-08-28 04:40:19 +00:00
renovate-rancher[bot]
a101c26aa9
chore(deps): update module modernc.org/sqlite to v1.38.1 (#751)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-07-28 14:22:02 -04:00
renovate-rancher[bot]
f9c5a3c648
chore(deps): update module modernc.org/sqlite to v1.38.0 (#553)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-07-04 16:21:55 -07:00
renovate-rancher[bot]
cde75cd7f6
chore(deps): update module golang.org/x/sync to v0.15.0 (#537)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-07-04 15:43:19 -07:00
renovate-rancher[bot]
01a5f0a8c1
chore(deps): update module github.com/urfave/cli/v2 to v2.27.7 (#536)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-07-04 15:42:35 -07:00
renovate-rancher[bot]
cc13364cd7
chore(deps): update module github.com/rancher/lasso to v0.2.1 (release/v0.3) (#472)
* 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 (#440)
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]
8ed2719f10
chore(deps): update module helm.sh/helm/v3 to v3.17.2 (release/v0.3) (#384)
* 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) (#383)
* 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 (#368)
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 (#378)
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 (#374)
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 (#370)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-04-22 13:32:04 -07: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
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
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
Tom Lebreux
096afba4f7
Bump Go to 1.22.7 (#275) 2024-09-10 09:51:05 -04: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
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
Krunal Hingu
030241985d bump versions for k8s 1.29.3 2024-05-04 06:49:19 +05:30
Tom Lebreux
b3bd0b85d2
Bump various dependencies to downgrade prometheus to v1.16.0 (#196)
Fixes incompatiblity with k8s 1.28
2024-04-19 10:43:29 -04:00
renovate-rancher[bot]
dc4a394d55
chore(deps): update module github.com/rancher/dynamiclistener to v0.5.0-rc4 (#188)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2024-04-12 10:51:11 -04:00
renovate-rancher[bot]
f042b7d545
chore(deps): update k8s.io/kube-openapi digest to dc4e619 (#177)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2024-04-12 10:45:48 -04:00
renovate-rancher[bot]
ee5c83bb1c
chore(deps): update rancher 2.9 packages (#193)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2024-04-12 10:42:09 -04:00
Tom Lebreux
9b00eb3a7f
Various dependency bumps (#179)
* Bump wrangler to v2.2.0-rc1

* Bump dynamiclistener to v0.5.0-rc3

* Bump apiserver to 0dbf81039822340de2905a7e12b096d5a717b739

* Bump norman to dd207ee11dda52ef503af578a2e861b78b97eedf

* Bump remotedialer to v0.3.1
2024-03-26 15:11:24 -04:00
renovate-rancher[bot]
b77040f74e Update k8s.io/kube-openapi digest to 70dd376 2024-03-22 15:47:53 -05:00
renovate-rancher[bot]
e3137d6fbd Update module github.com/prometheus/client_golang to v1.19.0 2024-03-22 15:47:53 -05:00
renovate-rancher[bot]
cc5d0936d7 Update module golang.org/x/sync to v0.6.0 2024-03-22 15:47:53 -05:00
renovate-rancher[bot]
c9d4da92e7 Update module github.com/gorilla/mux to v1.8.1 2024-03-22 15:47:53 -05:00
renovate-rancher[bot]
f5c3c4db75 Update module github.com/gorilla/websocket to v1.5.1 2024-03-22 15:47:53 -05:00
Michael Bolot
51e85d9e4b Bumping go version to 1.22
Also bumps golangci-lint 1.57.1
2024-03-22 15:47:46 -05:00
renovate-rancher[bot]
3c1e7f232d Update module github.com/urfave/cli to v2 2024-03-22 15:11:11 -05:00
renovate-rancher[bot]
3a6db0f09a Update module github.com/stretchr/testify to v1.9.0 2024-03-22 15:08:26 -05:00