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

165 Commits

Author SHA1 Message Date
renovate-rancher[bot]
3cbe623af2
chore(deps): update module golang.org/x/sync to v0.16.0 2025-07-11 04:46:23 +00:00
renovate-rancher[bot]
191f72b236
chore(deps): update module modernc.org/sqlite to v1.38.0 (#552)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-07-04 16:38:01 -07:00
renovate-rancher[bot]
f0b30f2878
chore(deps): update module golang.org/x/sync to v0.15.0 (#535)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-07-04 15:41:29 -07:00
Felipe Gehrke
b9e5b210c2
[v2.10] bump wrangler to v3.2.1-rc.4 (#635)
* bump wrangler to v3.2.1-rc.3

* updated wrangler to new version

* go mod tidy
2025-05-09 18:15:24 -03:00
renovate-rancher[bot]
de491f4e42
chore(deps): update module helm.sh/helm/v3 to v3.17.2 (release/v0.4) (#353)
* chore(deps): update module helm.sh/helm/v3 to v3.17.2

* Lock k8s dependencies to v0.31.x

---------

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 15:57:48 -07:00
Vatsal Parekh
54d4bc91ec
Add tagged dependencies (#507)
Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>
2025-03-04 19:56:26 +05:30
renovate-rancher[bot]
17caed84fe
chore(deps): update module modernc.org/sqlite to v1.36.0 (#529)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-27 17:11:11 -05:00
renovate-rancher[bot]
7678176728
chore(deps): update module modernc.org/sqlite to v1.35.0 (#503)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-23 11:01:27 -08:00
renovate-rancher[bot]
872ac50b11
chore(deps): update module golang.org/x/sync to v0.11.0 (#502)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-23 11:01:17 -08:00
renovate-rancher[bot]
4d0abe94cf
chore(deps): update module github.com/rancher/saml to v0.4.14 (#501)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-23 11:00:15 -08:00
renovate-rancher[bot]
9aa70eada0
chore(deps): update module github.com/urfave/cli to v1.22.16 (#351)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-14 12:30:55 -05:00
Chad Roberts
504819d943
[release/v0.4] Add schema links and resource methods for resource verb patch (#450) (#498)
* Show patch link on the API resource when patch permission is present and add patch ResourceMethod to the schema.
2025-02-14 12:19:15 -05:00
renovate-rancher[bot]
aa220d13a6
chore(deps): update module modernc.org/sqlite to v1.34.5 (#479)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-13 10:06:08 -08:00
renovate-rancher[bot]
c6f367e3f3
chore(deps): update module github.com/gorilla/websocket to v1.5.3 (#349)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-12 11:59:59 -08:00
renovate-rancher[bot]
95a8d1e469
chore(deps): update module github.com/rancher/wrangler/v3 to v3.1.0 (#362)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-12 11:59:11 -08:00
renovate-rancher[bot]
2b04f2c2c1
chore(deps): update module github.com/adrg/xdg to v0.5.3 (#348)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-12 09:19:52 -08:00
renovate-rancher[bot]
aa63c7dc4a
chore(deps): update module github.com/rancher/dynamiclistener to v0.6.1 (#350)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-12 09:19:19 -08:00
renovate-rancher[bot]
d9048777fd
chore(deps): update module github.com/stretchr/testify to v1.10.0 (#363)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-12 09:18:51 -08:00
renovate-rancher[bot]
706b136365
chore(deps): update module github.com/google/gnostic-models to v0.6.9 (#373)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-12 09:16:58 -08:00
renovate-rancher[bot]
c26fbc1b96
chore(deps): update module go.uber.org/mock to v0.5.0 (#364)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-11 13:49:15 -08:00
renovate-rancher[bot]
95b6907de8
chore(deps): update dependency go to v1.23.6 (#347)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-11 13:02:55 -08:00
Tom Lebreux
d030e42148
[v0.4] Move lasso SQL cache in Steve (#473)
* Copy pkg/cache/sql from lasso to pkg/sqlcache

* Rename import from github.com/rancher/lasso/pkg/cache/sql to github.com/rancher/steve/pkg/sqlcache

* 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 imports

* Fix more linting errors

---------

Signed-off-by: Silvio Moioli <silvio@moioli.net>
Co-authored-by: Silvio Moioli <silvio@moioli.net>
2025-02-04 12:42:13 -05:00
Vatsal Parekh
41674fa0cf
[release/v0.4] Upgrade go version to 1.23 (#448)
* Upgrade golangci-lint to 1.63.4

Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>

* Upgrade go version to 1.23

Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>

---------

Signed-off-by: Vatsal Parekh <vatsalparekh@outlook.com>
2025-01-29 09:05:23 -05:00
Silvio Moioli
c48ac64c4d
[v2.10] SQL cache backports (#435)
Co-authored-by: Tom Lebreux <tom.lebreux@suse.com>
2025-01-11 12:26:12 +01:00
Diogo Souza
b2f2bab3c4
Helm data formatter (#305)
* changing secret and configmap formatters to return decoded helm data if includeHelmData query parameter is present

* adding tests for gzip magic header
2024-10-28 15:55:36 -05:00
Tom Lebreux
1f21e5e515
Implement /ext in Steve for Imperative API (#287)
This implements the Imperative API that is served at /ext with Steve. The imperative API is compatible with Kubernetes' API server and will be used as an extension API server.
2024-10-11 15:19:27 -04:00
Eric Promislow
57a25ffa82
Bump to k8s 1.31 (#294) 2024-10-10 13:14:17 -07:00
Eric Promislow
6a11ffb660
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.
2024-10-10 10:28:25 -07:00
Tom Lebreux
28630459d0
Bump Go to 1.22.7 (#274) 2024-09-09 10:54:06 -04:00
Eric Promislow
69906c52af Display error output from dynamiclistener.Server. 2024-09-05 12:00:54 -07:00
Michael Bolot
1149920168 Adding virtual fields
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.
2024-08-28 12:17:53 -05:00
renovate-rancher[bot]
01429f8528
chore(deps): update github.com/rancher/norman digest to 60ccfab (#266)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2024-08-27 10:17:08 -04:00
Eric Promislow
d604ed6d31
Merge pull request #242 from rancher/renovate/github.com-adrg-xdg-0.x
chore(deps): update module github.com/adrg/xdg to v0.5.0
2024-08-16 15:25:43 -07:00
Eric Promislow
629030e292
Merge pull request #259 from rancher/renovate/github.com-urfave-cli-v2-2.x
chore(deps): update module github.com/urfave/cli/v2 to v2.27.4
2024-08-16 15:24:33 -07:00
Eric Promislow
ee5e596d24
Merge pull request #251 from rancher/renovate/github.com-rancher-dynamiclistener-0.x
chore(deps): update module github.com/rancher/dynamiclistener to v0.6.0
2024-08-16 15:23:33 -07:00
renovate-rancher[bot]
3291f8c741
chore(deps): update module github.com/urfave/cli/v2 to v2.27.4 2024-08-12 05:01:28 +00:00
renovate-rancher[bot]
98964a7e69
chore(deps): update module github.com/adrg/xdg to v0.5.0 2024-08-10 04:56:27 +00:00
renovate-rancher[bot]
2d08b36ea5
chore(deps): update module github.com/rancher/dynamiclistener to v0.6.0 2024-08-10 04:56:06 +00:00
renovate-rancher[bot]
bff7f104ee
chore(deps): update github.com/rancher/lasso digest to 8da6f11 2024-08-10 04:55:47 +00: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