1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-31 06:46:25 +00:00
Commit Graph

526 Commits

Author SHA1 Message Date
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
Michael Bolot
099ebc509f Adding tests for schemaDefinitions 2024-02-26 15:42:07 -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
Michael Bolot
605e74c97a Reducing number of generated schemas
Changes steve to only return top level schema definitions rather
than a full defined schema for every field. Also adds basic docs
and fixes a bug with schema generation on versioned crds
2024-02-26 09:20:42 -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
17bd14c5b5 Merge pull request #142 from KevinJoiner/wrangler-v2
Bumps rancher/wrangler to it's tagged v2 version.
2024-01-24 10:56:27 -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
Silvio Moioli
d138622063 adapt tests
Signed-off-by: Silvio Moioli <silvio@moioli.net>
2024-01-23 11:25:29 +01:00
Silvio Moioli
1585ed3f7a WatchNames: return errors via WebSocket
Align behavior with plain Watch, which also does the same.

Fixes https://github.com/rancher/rancher/issues/41809

Signed-off-by: Silvio Moioli <silvio@moioli.net>
2023-12-22 20:10:51 +01:00
Michael Bolot
9935404019 Merge pull request #132 from MbolotSuse/panic-fix
Updating ByNames to not return nil, nil
2023-10-16 15:26:03 -05:00
Michael Bolot
0b23400f9f Updating ByNames to not return nil, nil
ByNames could previously return a nil value and a nil error. This caused
issues when other parts of the application
(pkg/stores/partition/parallel.go) tried to use the result. Now this
will return an empty list on the error condition, instead of nil
2023-10-16 14:33:35 -05:00
Colleen Murphy
811e0b3572 Merge pull request #128 from cmurphy/pagination-docs
Add section on pagination design to README
2023-09-29 11:47:37 -07:00
Colleen Murphy
7ecbec31bd Add information about API parameters to README 2023-09-27 11:06:56 -07:00
Colleen Murphy
1826066646 Fix typo in README 2023-09-27 11:03:29 -07:00
Colleen Murphy
feab37c476 Add section on pagination design to README
Add a section describing the design of pagination-related query
parameters (filter, sort, page, etc) to the README, including how
testing is implemented.
2023-09-20 14:00:34 -07:00
Colleen Murphy
52e7ebfd1b Fix partition unit test
Remove unnecessary items from the `access` slice in one of the unit
tests. Each item in `access` corresponds to one request in `apiOps`, so
they should have the same number of elements.
2023-09-20 13:58:37 -07:00
Colleen Murphy
826ba42d0a Merge pull request #64 from cmurphy/docs
Add developer docs to README
2023-09-20 10:06:51 -07:00
Colleen Murphy
6b8eceb3e4 Add developer docs to README 2023-09-14 11:32:45 -07:00
Max Sokolovsky
7e38c1de95 Merge pull request #125 from maxsokolovsky/run-as-non-root-in-dockerfile
Run container as a non-root user
2023-09-13 17:58:54 -04:00
Max Sokolovsky
5b630912b3 Use a less specific base bci-micro:15.5 to get the latest version 2023-09-13 17:40:30 -04:00
Max Sokolovsky
420ada5efb Run container as a non-root user 2023-09-13 17:40:30 -04:00
Kinara Shah
5df31b9c15 Merge pull request #117 from vardhaman22/k8s-1.27
updated deps for k8s 1.27
2023-08-31 21:45:48 -07: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
Colleen Murphy
e885e4a713 Merge pull request #119 from rancher/renovate/github.com-rancher-norman-digest
chore(deps): update github.com/rancher/norman digest to 078862e
2023-08-11 10:32:10 -07:00
renovate-rancher[bot]
dfb3192ce9 chore(deps): update github.com/rancher/norman digest to 078862e 2023-08-11 15:41:41 +00:00
Jonathan Crowther
12fe048283 Merge pull request #118 from rancher/renovate/github.com-rancher-apiserver-digest
chore(deps): update github.com/rancher/apiserver digest to d134152
2023-08-11 11:39:45 -04: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
Colleen Murphy
41187854de Merge pull request #104 from rancher/renovate/k8s.io-klog-2.x
chore(deps): update module k8s.io/klog to v2
2023-08-10 14:18:58 -07:00
renovate-rancher[bot]
99cf256689 chore(deps): update module k8s.io/klog to v2 2023-08-10 15:52:43 -04:00
Jonathan Crowther
6e3926eb1e Merge pull request #84 from rancher/renovate/github.com-rancher-apiserver-digest
chore(deps): update github.com/rancher/apiserver digest to de731cd
2023-08-10 14:58:03 -04:00
renovate-rancher[bot]
7c49f34827 chore(deps): update module github.com/sirupsen/logrus to v1.9.3 2023-08-10 18:54:50 +00:00
renovate-rancher[bot]
d3bd2ae53d chore(deps): update github.com/rancher/apiserver digest to de731cd 2023-08-10 18:54:32 +00:00
Jonathan Crowther
97194fb980 Merge pull request #100 from rancher/renovate/github.com-urfave-cli-v2-2.x
chore(deps): update module github.com/urfave/cli/v2 to v2.25.7
2023-08-10 14:51:41 -04:00
Jonathan Crowther
dfc0b92be7 Merge pull request #85 from rancher/renovate/github.com-rancher-norman-digest
chore(deps): update github.com/rancher/norman digest to ccd31a4
2023-08-10 14:42:06 -04:00
Jonathan Crowther
da7ecef2bb Merge pull request #96 from rancher/renovate/github.com-prometheus-client_golang-1.x
chore(deps): update module github.com/prometheus/client_golang to v1.16.0
2023-08-10 14:41:35 -04:00
Jonathan Crowther
4c82d37181 Merge pull request #86 from rancher/renovate/github.com-rancher-pkg-digest
chore(deps): update github.com/rancher/pkg digest to b04c094
2023-08-10 14:37:12 -04:00
Jonathan Crowther
ba5c979324 Merge pull request #90 from rancher/renovate/github.com-rancher-wrangler-1.x
chore(deps): update module github.com/rancher/wrangler to v1.1.1
2023-08-10 14:35:21 -04:00
Jonathan Crowther
899abbcec6 Merge pull request #88 from rancher/renovate/github.com-pborman-uuid-1.x
chore(deps): update module github.com/pborman/uuid to v1.2.1
2023-08-10 14:33:25 -04:00
renovate-rancher[bot]
cabea84725 chore(deps): update module github.com/urfave/cli/v2 to v2.25.7 2023-08-10 18:25:30 +00:00
renovate-rancher[bot]
7f074294d8 chore(deps): update module github.com/prometheus/client_golang to v1.16.0 2023-08-10 18:25:15 +00:00
renovate-rancher[bot]
33dc24bc15 chore(deps): update module github.com/adrg/xdg to v0.4.0 2023-08-10 18:25:08 +00:00
renovate-rancher[bot]
45c68fa1b9 chore(deps): update module github.com/rancher/wrangler to v1.1.1 2023-08-10 18:25:01 +00:00