1
0
mirror of https://github.com/rancher/steve.git synced 2025-04-27 19:05:09 +00:00
Commit Graph

472 Commits

Author SHA1 Message Date
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
Michael Bolot
c6b887c1cb Fixing schema definitions bugs
Fixes two bugs with the schema definitions:
- Adds resources that are a part of the baseSchema (but aren't k8s resources).
- Adds logic to handle resources which aren't in a prefered version, but
  are still in some version.
2024-05-15 08:43:35 -05:00
Kinara Shah
a9bf8c7e9c
Merge pull request #207 from krunalhinguu/rancher-1.29
[v1.29] Bump dependencies to support k8s 1.29
2024-05-10 10:53:29 -07:00
Eric Promislow
7a9a1c07c4 Revert "Bump k8s dependencies from version 0.28.6 to 0.29.3"
This reverts commit 0066726cbe.
2024-05-08 14:08:15 -07:00
Eric Promislow
2c4b19ecfe
Merge pull request #206 from ericpromislow/45350-support-k8s-1.29
Bumping version 0.28.6 to 0.29.3 for k8s dependencies.
2024-05-08 13:46:05 -07:00
Krunal Hingu
030241985d bump versions for k8s 1.29.3 2024-05-04 06:49:19 +05:30
Eric Promislow
0066726cbe Bump k8s dependencies from version 0.28.6 to 0.29.3 2024-05-03 11:46:32 -07:00
Eric Promislow
43fc03f64b
Merge pull request #200 from ericpromislow/fix-steve-readme-CollectionFormatter-duplication
Fix the sample formatter code.
2024-04-24 15:46:14 -07:00
Eric Promislow
18ff2ebb7a Fix the sample formatter code. 2024-04-22 10:26:00 -07:00
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
Ricardo Weir
d42a5bc545
Skip key generation if cache disabled (#170) 2024-04-19 09:43:15 -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
Michael Bolot
bcba9d5e3b
Merge pull request #180 from MbolotSuse/flaky-test
Attempting to fix flaky tests
2024-04-04 08:23:08 -05:00
Michael Bolot
0e9fde750f Attempting to fix flaky tests
Some tests which relied on timeouts were a bit flaky in CI. This PR
refactors a few of them to work on a more reliable method of receiving
from a channel and raises the timeout of another test.
2024-04-03 15:32:23 -05:00
Diogo Souza
46e3638cd8
changing permission for kubeconfig file inside the shell pod (#166)
* changing permission for kubeconfig file inside the shell pod

* creating unit tests for the changes done
2024-04-03 13:33:37 -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
Michael Bolot
863d917f6d
Merge pull request #175 from MbolotSuse/renovate-bumps-march
Renovate bumps
2024-03-22 16:01:13 -05:00
Michael Bolot
c52c626b0e Fixing validate script 2024-03-22 15:56:00 -05: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]
216e53edbc chore(deps): update registry.suse.com/bci/golang docker tag to v1.22 2024-03-22 15:12:59 -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
Jonathan Crowther
a1ef5a94d3
Merge pull request #173 from JonCrowther/add-codeowners
Add codeowners file
2024-03-19 14:58:37 -04:00
Jonathan Crowther
f9c53d7f56 Add codeowners file 2024-03-19 14:22:36 -04:00
Michael Bolot
870824dc8f
Merge pull request #161 from MbolotSuse/resource-schema-improved-cache
Resource schema improved cache
2024-03-14 09:57:06 -05:00
Jonathan Crowther
ca29f475f0
Merge pull request #162 from JonCrowther/count-race-condition
Fix race condition in debounceCounts
2024-03-14 10:52:28 -04:00
Jonathan Crowther
abbe805737 Change which object needs DeepCopy 2024-03-13 19:41:21 -04:00
Michael Bolot
b7618463e6 Fixing bug with preferred versions
In the original implementation of the definition handler, the resource
list was checked for preferred version, and this overrode the preferred
version of the overall group. However, this logic was inaccurate and
did not use the group as the source of truth on the preferred version
like it should have.
2024-03-12 13:59:17 -05:00
Michael Bolot
0f32ff22e0 Adding tests for improved schema cache 2024-03-12 13:53:51 -05:00
Michael Bolot
2f8e64840b Improving Schema Definitions cache/refresh
Updates the schema definitions refresh method to use a new debounce
method. Adds a handler which refreshes the definitions every 2
seconds after adding a CRD and every 10 minutes by default.
2024-03-12 13:49:39 -05:00
Jonathan Crowther
cec59c5a61 Implement custom DeepCopy for Count 2024-03-01 11:56:18 -05:00
Jonathan Crowther
0e74495395 DeepCopy the count before sending it as APIEvent 2024-03-01 10:50:35 -05:00
Michael Bolot
7913f2782a
Merge pull request #141 from moio/watchnames_propagate_errors
WatchNames: return errors via WebSocket
2024-03-01 09:48:41 -06:00
Michael Bolot
641178e7cb
Merge pull request #139 from MbolotSuse/resource-schema
Resource schema
2024-02-28 10:10:51 -06:00
Chirayu Kapoor
cecc8da880
Merge pull request #140 from chiukapoor/rancher-v1.28
Update dynamic listener
2024-02-27 10:04:03 +05:30