gehrkefc
a11254e5f5
fix import
2024-09-13 11:46:06 -03:00
gehrkefc
ed8bdb68e6
addressing comments from eric #2
2024-09-13 11:42:50 -03:00
gehrkefc
be0c0a3d54
addressing eric's comment
2024-09-12 15:24:56 -03:00
gehrkefc
c886752a27
updated tests
2024-09-12 14:57:24 -03:00
gehrkefc
e20157f2d9
chaging it replace apiVersion and kind from input to schema
2024-09-12 14:23:53 -03:00
gehrkefc
cc1b580a18
added TestUpdate
2024-09-11 21:35:06 -03:00
gehrkefc
d6de5def36
Merge branch 'main' into fix/proxy-store-update-add-gvk
2024-09-09 13:40:25 -03:00
Tom Lebreux
28630459d0
Bump Go to 1.22.7 ( #274 )
2024-09-09 10:54:06 -04:00
Felipe Gehrke
e930ae3691
Added Namespace check to proxy_store.go Create ( #272 )
...
* added namespace check to proxy_store create
* added namespaced resources checks and create tests
* Update pkg/stores/proxy/proxy_store.go
* changed error message and added missing name only test
* updated sql/proxy_store
* changed return to use apierror.NewAPIError
---------
Co-authored-by: Felipe C. Gehrke <felipe@localhost.localdomain >
Co-authored-by: Tom Lebreux <tom.lebreux@suse.com >
2024-09-06 17:25:32 -03:00
Eric Promislow
eb6026e93c
Merge pull request #273 from ericpromislow/46956-bump-dynamic-listener
...
Display error output from dynamiclistener.Server when in debug mode.
2024-09-05 15:31:08 -07:00
Eric Promislow
69906c52af
Display error output from dynamiclistener.Server.
2024-09-05 12:00:54 -07:00
gehrkefc
93489619a8
added values overwrite check
2024-09-02 23:46:29 -03:00
Felipe C. Gehrke
0fcf47917b
adding gvk completion to update method in proxy_store
2024-08-30 19:11:50 -03:00
Michael Bolot
ea6c83b279
Merge pull request #264 from MbolotSuse/virtual-filter
...
Virtual Resource filters
2024-08-30 07:58:33 -05: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
Alejandro Ruiz
32c30149a6
refactor(accesscontrol): add unit tests for CacheKey ( #245 )
...
This is a follow up to 435e220
with a small refactor to make the function easier to test, and adding unit tests for CacheKey.
2024-08-28 10:06:21 +02: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
Silvio Moioli
5ec7c773df
README: document API differences when SQLite caching is enabled ( #262 )
...
* README: make common header for list parameters
* README: document differences when SQLite caching is enabled
* README: clarify support of sorting with the SQL cache
* README: mention additional printer columns
Signed-off-by: Silvio Moioli <silvio@moioli.net >
2024-08-20 13:28:40 +02:00
Eric Promislow
6d0d007ad5
Merge pull request #228 from rancher/renovate/registry.suse.com-bci-bci-micro-15.x
...
chore(deps): update registry.suse.com/bci/bci-micro docker tag to v15.6
2024-08-16 16:32:15 -07: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
d5ba002edf
Merge pull request #222 from rancher/renovate/actions-setup-go-5.x
...
chore(deps): update actions/setup-go action to v5.0.2
2024-08-16 15:25:18 -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
Eric Promislow
3103180e19
Merge pull request #258 from rancher/renovate/github.com-rancher-lasso-digest
...
chore(deps): update github.com/rancher/lasso digest to 8da6f11
2024-08-16 15:22:23 -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]
6b53b33458
chore(deps): update registry.suse.com/bci/bci-micro docker tag to v15.6
2024-08-10 04:56:47 +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]
9c0971fbe7
chore(deps): update actions/setup-go action to v5.0.2
2024-08-10 04:55:55 +00:00
renovate-rancher[bot]
bff7f104ee
chore(deps): update github.com/rancher/lasso digest to 8da6f11
2024-08-10 04:55:47 +00:00
Eric Promislow
d5305606ba
Merge pull request #255 from ericpromislow/point-renovate-to-main-on-main
...
Have renovate update against branch 'main'.
2024-08-09 15:19:38 -07:00
Eric Promislow
a1f7487b51
Have renovate update against branch 'main'.
2024-08-07 10:10:28 -07:00
Michael Bolot
1d42891f81
Merge pull request #253 from MbolotSuse/schema-less
...
Handle Schema-less CRDs
2024-08-05 14:43:53 -05:00
Michael Bolot
dfae21cb39
Adding changes from code review
2024-08-05 12:34:59 -05:00
Eric Promislow
8ce0b83be7
Add unit tests for schemaless CRDs
2024-08-05 12:04:00 -05:00
Eric Promislow
72384a606d
Handle schema-less CRDs
2024-08-05 12:03:53 -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 ( #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
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 #230 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 ( #215 )
2024-06-17 10:52:19 -04:00
Vardhaman Surana
d0f58fc918
Merge pull request #224 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
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