Kubernetes Publisher
22a6452ee0
Merge pull request #121439 from skitt/generic-client-go
...
Use generics to share code in client-go implementations
Kubernetes-commit: 33829b68b5040f23e04ba5e68ed76792d68d698f
2024-06-19 22:34:11 +00:00
Stephen Kitt
82812541d9
Run codegen
...
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Kubernetes-commit: 08dfd59305dbd1032b1afb49738259d688dda5e3
2024-05-10 16:56:52 +02:00
Kubernetes Publisher
963dc5786f
Merge pull request #124509 from p0lyn0mial/upstream-watch-list-code-gen
...
client-go: add support for API streaming
Kubernetes-commit: 6ac60160c5729ade462b041b170ec8ac0f1eb3bc
2024-06-14 14:34:00 +00:00
Lukasz Szaszkiewicz
2c1742bca0
make update
...
Kubernetes-commit: f62c80f965934eeeb2e028497bede7bcc632995d
2024-06-13 10:25:56 +02:00
Kubernetes Publisher
0fe75b774b
Merge pull request #125408 from benluddy/bump-cbor-v2.7.0
...
KEP-4222: Bump github.com/fxamacker/cbor/v2.
Kubernetes-commit: 6346b9d1327c4b8be2398d9715bdae5475e27569
2024-06-11 01:12:23 +00:00
Ben Luddy
f0d68f3bbc
Bump fxamacker/cbor/v2 to v2.7.0-beta.
...
This library release makes a number of behaviors configurable in ways that are required for CBOR
support in Kubernetes.
Kubernetes-commit: c4279660cad039bc15495311cf7863640b6308f9
2024-05-09 14:30:58 -04:00
Kubernetes Publisher
23f32a186f
Merge pull request #124963 from p0lyn0mial/upstream-data-consistency-checker-for-list-requests
...
client-go: data consistency checker for list requests
Kubernetes-commit: 3532601ad8c7249be13cd8187f8124fc68da4c4b
2024-06-07 09:06:21 +00:00
Lukasz Szaszkiewicz
436de8270b
make update
...
Kubernetes-commit: 448180db60fc1d62174a18d1dd995d8deb081428
2024-05-27 15:31:15 +02:00
Kubernetes Publisher
2792b3cf00
Merge pull request #125078 from Jefftree/patch-1
...
Ignore sample-controller binary
Kubernetes-commit: a2911e06a7cd393f7cce088b8399f889527b517f
2024-06-05 17:02:46 +00:00
Kubernetes Publisher
3bbd1b7ee2
Merge pull request #125154 from alvaroaleman/rename
...
Sample Controller: Use one variable for key throughout
Kubernetes-commit: a080057dabef91bdb185448ee4ffee2dd2400a21
2024-06-04 20:58:54 +00:00
Kubernetes Publisher
5af544b659
Merge pull request #122832 from benluddy/cbor-fuzz-native-to-unstructured-via
...
KEP-4222: Add roundtrip tests to Unstructured via CBOR and JSON.
Kubernetes-commit: f30a87d517c538f22e1d84b4d7c497f57f7b760a
2024-05-31 01:05:38 +00:00
Alvaro Aleman
f356e5a163
Sample Controller: Use one variable for key throughout
...
After changing it to use a typed workqueue, the differentiation between
the key we get from the workqueue and they key we use down the line is
no longer useful as they are the same, so use one variable for it
throughout.
Kubernetes-commit: 6e2e7f7c26d0c4908180180a85a53d2ca408f3b0
2024-05-27 21:29:48 -04:00
Jeffrey Ying
903405076c
Add gitignore to sample-controller
...
Kubernetes-commit: 4506f0542a369668531e60b7898de5af84c61c5e
2024-05-23 11:22:53 +09:00
Ben Luddy
3fce947933
Update indirect dependencies with ./hack/update-vendor.sh.
...
Implementing custom marshaling on several API types for CBOR makes the upstream CBOR library an
indirect dependency of several staging modules.
Kubernetes-commit: d7cccf3e792ad08d9ab2e7aac394f8e6ddcf3466
2024-05-17 13:02:26 -04:00
Kubernetes Publisher
307b861e46
Merge pull request #123339 from skitt/canonical-json-patch
...
Update kustomize, use canonical json-patch v4 import
Kubernetes-commit: da02fdb2aef1b7102526963c91df4992ee5b6a05
2024-05-29 21:05:41 +00:00
Stephen Kitt
442b538325
Use canonical json-patch v4 import
...
The canonical import for json-patch v4 is
gopkg.in/evanphx/json-patch.v4 (see
https://github.com/evanphx/json-patch/blob/master/README.md#get-it for
reference).
Using the v4-specific path should also reduce the risk of unwanted v5
upgrade attempts, because they won't be offered as automated upgrades
by dependency upgrade management tools, and they won't happen through
indirect dependencies (see
https://github.com/kubernetes/kubernetes/pull/120327 for context).
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Kubernetes-commit: 5300466a5c8988b479a151ceb77f49dd00065c83
2024-02-16 13:57:24 +01:00
Stephen Kitt
17dc7e29b9
Update kubectl kustomize to kyaml/v0.17.1, cmd/config/v0.14.1, api/v0.17.2, kustomize/v5.4.2
...
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Kubernetes-commit: 33c6f6bc65395aa514c9cf17115a1c63564c22e7
2024-05-27 17:42:29 +02:00
Kubernetes Publisher
e6b6554e2a
Merge pull request #125045 from pohly/ginkgo-gomega-update
...
dependencies: ginkgo v2.19.0, gomega v1.33.1
Kubernetes-commit: 1c84623028b496e22d8401100ef6f59325e092e0
2024-05-28 09:05:58 +00:00
Patrick Ohly
2f76b5aca2
dependencies: ginkgo v2.19.0, gomega v1.33.1
...
Ginkgo v2.18.0 allows tweaking the output so that
it's easier to follow while a job runs in
Prow (https://github.com/onsi/ginkgo/issues/1347 ). Using this in
hack/ginkgo-e2e.sh will follow in a separate commit.
Gomega gets bumped to the latest release to keep it up-to-date.
Ginkgo v1.19.0 adds support for --label-filter with labels that represent
sets (like our Feature:<Foo>).
Kubernetes-commit: 37e2dd6857084a172ef5210caee1fefa8dd8159a
2024-05-22 10:22:09 +02:00
Kubernetes Publisher
5d9319e2a8
Merge pull request #124757 from dims/update-to-latest-golang.org/x/oauth2-v0.20.0
...
Update to latest golang.org/x/oauth2 v0.20.0
Kubernetes-commit: 22578c545ffc04a505a7a64c9b8f6c78fefa07ef
2024-05-09 00:59:35 +00:00
Davanum Srinivas
ac5db4895a
Update to latest golang.org/x/oauth2 v0.20.0
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Kubernetes-commit: 04c40ac96134d7f7bf697d0a58caf0f8b0380075
2024-05-08 11:04:34 -04:00
Kubernetes Publisher
892f8f87bf
Merge pull request #124600 from alvaroaleman/typed-wq
...
Use the generic/typed workqueue throughout
Kubernetes-commit: 1dc30bf90fd6a729d226b4e942118110b0a73e65
2024-05-07 00:53:55 +00:00
Alvaro Aleman
3272c300d3
Use the generic/typed workqueue throughout
...
This change makes us use the generic workqueue throughout the project in
order to improve type safety and readability of the code.
Kubernetes-commit: 6d0ac8c561a7ac66c21e4ee7bd1976c2ecedbf32
2024-04-28 18:26:18 +02:00
Kubernetes Publisher
77cf3aaeee
Merge pull request #122148 from pohly/controllers-context-support
...
controllers + apiserver: enhance context support
Kubernetes-commit: d0fddf143b3ebea8df94a9c66e5aa833031a8682
2024-04-30 09:50:49 +00:00
Kubernetes Publisher
21ead8f55c
Merge pull request #124562 from sbueringer/pr-bump-sigs-yaml
...
Bump sigs.k8s.io/yaml to v1.4.0
Kubernetes-commit: c1ef6c44f5d7b582bf19669c6dbf2ff9552b9d6c
2024-04-29 21:55:07 +00:00
Stefan Bueringer
edded6aeb3
Bump sigs.k8s.io/yaml to v1.4.0
...
Kubernetes-commit: 04cc45b4adda1b19d5067d45ed246c0f84fed966
2024-04-26 15:28:17 +02:00
Kubernetes Publisher
9db8293ba5
Merge pull request #124469 from serathius/etcd-3.5.13
...
Upgrade etcd libraries to v3.5.13
Kubernetes-commit: 0f063280964b09e0e21c8cc457a181c20c68da61
2024-04-24 17:53:40 +00:00
Marek Siarkowicz
abe5dbaa6d
Upgrade etcd libraries to v3.5.13
...
Add otelgrpc.WithMessageEvents(otelgrpc.ReceivedEvents, otelgrpc.SentEvents) to tracing options due to https://github.com/open-telemetry/opentelemetry-go-contrib/pull/3964
Kubernetes-commit: 3e5b03eb433ee359782f5aa6e9368ab2a0d0370c
2024-04-23 11:10:37 +02:00
Kubernetes Publisher
9569fd3386
Merge pull request #124328 from jiahuif-forks/deps/cel-go
...
bump cel-go to v0.20.1 and refit CEL libraries
Kubernetes-commit: 16a594f907d0d4a6224dab2d0704793d5e7898f6
2024-04-23 01:54:37 +00:00
Kubernetes Publisher
9a8a7c6f1c
Merge pull request #121574 from skitt/generic-lister-gen
...
Generify lister-gen
Kubernetes-commit: 6b260382a1b5e461c39289892b1d3a3b335ecc67
2024-04-23 01:54:37 +00:00
Jiahui Feng
7b28a54be9
generated: ./hack/update-vendor.sh
...
Kubernetes-commit: 350fcf957e90501f0b224b7ccf771b29d4d5c6b6
2024-04-22 10:54:32 -07:00
Kubernetes Publisher
6f2758eb37
Merge pull request #124346 from jwcesign/master
...
upgrade: upgrade dependencies github.com/prometheus/common to the newest version
Kubernetes-commit: 76de052680da0b7a59b35fb79db7ab322faf2854
2024-04-22 17:54:24 +00:00
jwcesign
2c02470156
upgrade: upgrade dependencies github.com/prometheus/common to the newest version
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
Kubernetes-commit: f0aa62bc96d6e734249adfa3e094a52e45c8fb6d
2024-04-17 18:15:27 +08:00
Kubernetes Publisher
b66b03fd2d
Merge pull request #122892 from danwinship/codegen-nil
...
Fix generated fake clients to have same semantics as real clients on error
Kubernetes-commit: 573832a42f03af912a5611eb4e81a0e812a5ddf2
2024-04-18 17:54:22 +00:00
Jiahui Feng
eba1eb7f56
generated: ./hack/pin-dependency.sh github.com/google/cel-go v0.20.1
...
Kubernetes-commit: 94997c6fefa2791192d0a7ab68b02bf5d8b6c2c5
2024-04-15 13:33:10 -07:00
Mike Spreitzer
6e60f3495c
Brush up the sample controller
...
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com>
Kubernetes-commit: 7848612de8d0f6e4ac67c180184ee4bed1ac7691
2024-02-02 14:30:25 -05:00
Dan Winship
9f76e9e638
Regenerate fake clients
...
Kubernetes-commit: 17ab25b121d05355700f39628d5d45ab3da446f8
2024-01-20 10:20:43 -05:00
Kubernetes Publisher
cf98144093
Merge pull request #124174 from dims/update-x/net-for-CVE-2023-45288
...
Update x/net for CVE-2023-45288
Kubernetes-commit: d9c54f69d4bb7ae1bb655e1a2a50297d615025b5
2024-04-04 04:13:05 +00:00
Davanum Srinivas
5034defc64
Update x/net for CVE-2023-45288
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Kubernetes-commit: 99fac38d2864e6bc9bb7cd1743d658caa1360c0c
2024-04-03 16:37:18 -04:00
Kubernetes Publisher
674edd983a
sync: update go.mod
2024-03-18 12:24:01 +00:00
Kubernetes Publisher
f53405abe7
Merge pull request #123758 from liggitt/protobump
...
[CVE-2024-24786] Bump github.com/golang/protobuf v1.5.4, google.golang.org/protobuf v1.33.0
Kubernetes-commit: a5f5f44157c49fdfb6384862c7cb34c2ddbd4cce
2024-03-06 17:38:35 +00:00
Jordan Liggitt
c86e5dc12f
Bump github.com/golang/protobuf v1.5.4, google.golang.org/protobuf v1.33.0
...
Kubernetes-commit: c6673d2346c814ddb4629c569bdc659ffa0c583f
2024-03-06 09:47:28 -05:00
Kubernetes Publisher
59106b762c
Merge pull request #123529 from thockin/go-workspaces
...
Go workspaces for k/k and k/staging/*
Kubernetes-commit: df366107d16aa2e2cdd620be41e592184f379da4
2024-03-01 21:41:22 +00:00
Tim Hockin
39f7ea823a
Fix up go.mod files after reviews
...
Because of how the previous 100+ commits were done, so changes snuck
thru that properly belong in earlier commits but it's not really
possible to do that without a lot of effort.
We agreed it was OK to "spackle" these cracks with a final commit.
Kubernetes-commit: 21715e6bbd19c932576ff268843d8ead3edb05e4
2024-02-28 16:50:55 -08:00
Tim Hockin
2ad4028b7b
Remove old gengo detritus
...
Kubernetes-commit: 812d5fff4011df4693dcdace516feec30ebff8ba
2024-02-26 23:31:41 -08:00
Tim Hockin
28c803d620
Get rid of most references to GOPATH
...
Kubernetes-commit: 10c32b3e2f4345dab582270b1a202dcd92dabd34
2024-01-03 17:14:38 -08:00
Tim Hockin
7e70e35059
Make code-gen subprojects work on gengo/v2
...
Kubernetes-commit: f772410082b2bf4e93cfabcf5d9c60f213e88cc7
2023-12-28 15:58:26 -08:00
Tim Hockin
9ac16f811f
Re-vendor latest kube-openapi and gengo/v2
...
./hack/pin-dependency.sh k8s.io/kube-openapi latest
./hack/pin-dependency.sh k8s.io/gengo/v2 latest
./hack/update-vendor.sh
Kubernetes-commit: 6f2f3735e04df5e4822176a2784069634c3c74a3
2024-02-26 17:02:22 -08:00
Patrick Ohly
2c4684fa27
sample controller: enhance context support
...
27a68aee3a4834 introduced context support for events. Creating an event
broadcaster with context makes tests more resilient against leaking goroutines
when that context gets canceled at the end of a test and enables per-test
output via ktesting.
The New method already had a context, therefore no API changes are needed.
Kubernetes-commit: 591855966c1d136c8fca299db2c6ba949bef4493
2023-12-01 09:00:59 +01:00
Stephen Kitt
6dc1b5cec5
Regenerate all listers
...
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Kubernetes-commit: e6f44957cdb961d1ada2ae570d331c6bc0ecc8e2
2023-11-09 17:39:39 +01:00