1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-24 00:49:22 +00:00
Commit Graph

142 Commits

Author SHA1 Message Date
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
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
renovate-rancher[bot]
09ea8b0384 Update module github.com/rancher/wrangler/v2 to v2.1.4 2024-03-22 15:07:27 -05:00
Michael Bolot
641178e7cb
Merge pull request #139 from MbolotSuse/resource-schema
Resource schema
2024-02-28 10:10:51 -06:00
Michael Bolot
40f6b10fc7 Adding schema definitions endpoint
Introduces new schema definitions endpoint, allowing the caller to get
the fields/types/descriptions for a given kubernetes resource.
2024-02-26 15:42:03 -06:00
Michael Bolot
3f65942a6a Tests for Reducing number of generated schemas 2024-02-26 15:39:41 -06:00
Chirayu Kapoor
a7ba1cdc8c
Bump dependencies to support k8s 1.28 | January Patch
Signed-off-by: Chirayu Kapoor <chirayu.kapoor@suse.com>
2024-02-08 19:49:13 +05:30
Peter Matseykanets
be7dccb37f
[2.9] Fixes (#154) 2024-02-07 15:22:15 -05:00
Kevin Joiner
e35a044d5a Bumps rancher/wrangler to it's tagged v2 version.
The previous wrangler commit included all of the v2 changes.
Except for the import paths changes.
2024-01-24 10:24:01 -05:00
vardhaman22
c8b08e8250 skip linting rules
these linting rules are enabled by default now in latest golangci-lint revive pluign
2023-08-31 21:38:46 +05:30
vardhaman22
ebc8b721a8 updated deps for k8s 1.27 2023-08-23 00:42:52 +05:30
renovate-rancher[bot]
dfb3192ce9
chore(deps): update github.com/rancher/norman digest to 078862e 2023-08-11 15:41:41 +00:00
renovate-rancher[bot]
8517a24e22
chore(deps): update github.com/rancher/apiserver digest to d134152 2023-08-11 15:35:11 +00:00
Colleen Murphy
80846797f9
Merge pull request #99 from rancher/renovate/github.com-sirupsen-logrus-1.x
chore(deps): update module github.com/sirupsen/logrus to v1.9.3
2023-08-10 14:21:20 -07:00
Colleen Murphy
96e2a849d7
Merge pull request #94 from rancher/renovate/github.com-adrg-xdg-0.x
chore(deps): update module github.com/adrg/xdg to v0.4.0
2023-08-10 14:19:28 -07:00
renovate-rancher[bot]
99cf256689 chore(deps): update module k8s.io/klog to v2 2023-08-10 15:52:43 -04:00