Ben Luddy
1cca19dc02
Add test-only client feature gates for CBOR.
...
As with the apiserver feature gate for CBOR as a serving and storage encoding, the client feature
gates for CBOR are being initially added through a test-only feature gate instance that is not wired
to environment variables or to command-line flags and is intended only to be enabled
programmatically from integration tests. The test-only instance will be removed as part of alpha
graduation and replaced by conventional client feature gating.
Kubernetes-commit: ea13190d8bd3a4bb3e82055b529aa7599ae5c6e1
2024-10-23 16:36:37 -04:00
Monis Khan
86e81b0a37
Generated
...
Signed-off-by: Monis Khan <mok@microsoft.com>
Kubernetes-commit: 032e7f1556c74dbc25b5ed9368b2e86e26ba774f
2024-10-23 15:33:57 +00:00
Monis Khan
6f44458e5e
Use protobuf for core clients
...
Signed-off-by: Monis Khan <mok@microsoft.com>
Kubernetes-commit: c2ae465355b5222dbc27b8de8c55095b4f1b431a
2024-08-19 10:37:15 -04:00
Monis Khan
1647efd5c4
client-go/rest: move content type wiring from client to request
...
Signed-off-by: Monis Khan <mok@microsoft.com>
Kubernetes-commit: fe1eda0649fdb6a15200d279be214c67246d3b12
2024-08-18 15:01:57 -04:00
Kubernetes Publisher
c5146a9031
Merge pull request #126697 from fedebongio/patch-1
...
Update OWNERS file in client-go/tools/leaderelection adding jefftree
Kubernetes-commit: 16dca1c330392f26f3421fd4cd7ee3d691b93213
2024-10-23 06:07:56 +00:00
Kubernetes Publisher
f05f3ca8bc
Merge pull request #125516 from ComingCL/master
...
fix typo errors in client-go rest package
Kubernetes-commit: 367e7e889b993cedc5f775fba9782010f7219fc9
2024-10-23 01:56:27 +00:00
Federico Bongiovanni
65ed08a834
Update OWNERS
...
Adding jefftree also to the reviewers list
Kubernetes-commit: 5f052ada19c43471bdcbb6da4e6f72405ca46bd7
2024-10-22 16:26:30 -07:00
Kubernetes Publisher
23900f4929
Merge pull request #128165 from liggitt/prune-self-require
...
Drop self-referencing replace directives
Kubernetes-commit: a8fc7ae761c19ab436cf513c9eed877f08961cf7
2024-10-18 04:29:40 +00:00
Kubernetes Publisher
6a276b2b95
Merge pull request #128003 from pohly/dra-classic-dra-removal
...
DRA: remove "classic DRA"
Kubernetes-commit: b1b4e5d397e303cf7a2a3fb02e90f40536da5896
2024-10-18 00:29:00 +00:00
Jordan Liggitt
607869c7d9
Drop self-referencing replace directives
...
Kubernetes-commit: 3be1109829d4b0921972bb8b5f66a4d179ff6255
2024-10-17 15:51:15 -04:00
Patrick Ohly
d366fa7737
DRA: remove "classic DRA"
...
This removes the DRAControlPlaneController feature gate, the fields controlled
by it (claim.spec.controller, claim.status.deallocationRequested,
claim.status.allocation.controller, class.spec.suitableNodes), the
PodSchedulingContext type, and all code related to the feature.
The feature gets removed because there is no path towards beta and GA and DRA
with "structured parameters" should be able to replace it.
Kubernetes-commit: f84eb5ecf894fa0fc4e0d05da52ef51d4cd723d9
2024-10-11 16:08:54 +02:00
Kubernetes Publisher
235936510e
Merge pull request #128064 from dims/update-to-last-versions-of-some-very-infrequently-updated-repos
...
Update to last versions of some very infrequently updated repos
Kubernetes-commit: 07e73682b9a5259cacac978346ed4567588e4165
2024-10-16 06:00:06 +00:00
Kubernetes Publisher
43e9ea4bb5
Merge pull request #124059 from benluddy/dynamic-client-negotiation
...
Use content negotiation in the dynamic client.
Kubernetes-commit: c360a2c75c6e2a6a66bc5c6d37b30a4171b408da
2024-10-15 18:23:03 +01:00
Davanum Srinivas
e4db112974
Update to last versions of some very infrequently updated repos
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Kubernetes-commit: 7f8210e33f8cd626d1fb86cd7d12d077ec3047d5
2024-10-14 17:23:16 -04:00
Federico Bongiovanni
29ce700614
Update staging/src/k8s.io/client-go/tools/leaderelection/OWNERS
...
Co-authored-by: Benjamin Elder <bentheelder@google.com>
Kubernetes-commit: d20bc10645e716034e91d365d17d8b1011d3f1cd
2024-08-14 13:21:52 -07:00
Federico Bongiovanni
3c2f0814df
Update OWNERS
...
Adding jefftree to the owners file for leaderelection
Kubernetes-commit: b5bbc1508f986df7811dd79e7b5116bbede784e8
2024-08-14 12:16:59 -07:00
ComingCL
de60f3ccb5
fix typo errors in client-go rest package
...
Kubernetes-commit: faf891ad2d6dd1706932c8cf8774b2c7fb2b4bb1
2024-06-15 00:28:03 +08:00
Ben Luddy
ee51eaf9d0
Use content negotiation in the dynamic client.
...
Kubernetes-commit: 97958d96a2911c8b1df324868f4730b1c622c798
2024-02-15 17:47:19 -05:00
Kubernetes Publisher
c38ce11939
Merge pull request #127812 from p0lyn0mial/upstream-decode-list-blueprint
...
client-go/rest/request: decodes initialEventsListBlueprint for watchlist requests
Kubernetes-commit: a454563a8d5a93ae0288244eb63649e26e509991
2024-10-14 14:00:33 +00:00
Kubernetes Publisher
9cff3e43bd
Merge pull request #128035 from alexanderstephan/export-reflector
...
Make getter names for reflector fields idiomatic
Kubernetes-commit: 4dc7a48ac6fb631a84e1974772bf7b8fd0bb9c59
2024-10-14 01:59:24 +00:00
Alexander Stephan
ce42c297f4
Make getter names for reflector fields idiomatic
...
Kubernetes-commit: fdabcb5141094cb99afde24ec1df15026b4ba349
2024-10-13 20:53:25 +00:00
Kubernetes Publisher
64f5574f09
Merge pull request #127998 from skitt/golang-x-oct-2024
...
October 2024 golang.org/x bump
Kubernetes-commit: 8cbb11519c54c120e2dc120a4799e53abbfea4a4
2024-10-11 14:00:21 +00:00
Kubernetes Publisher
2717ef67e3
Merge pull request #127985 from dims/update-moby-runc-dependencies-oct-10
...
Update moby/runc dependencies
Kubernetes-commit: 6e5e8f374e834fa8dab341bde5c522704ed55ba6
2024-10-11 14:00:19 +00:00
Stephen Kitt
9f84a0d8ed
October 2024 golang.org/x bump
...
Nothing major here, but nothing liable to cause pain to downstreams
either.
* https://github.com/golang/crypto/compare/v0.26.0...v0.28.0 (there’s
a SHA3 fix there but it’s only relevant for 32-bit platforms)
* https://github.com/golang/net/compare/v0.28.0...v0.30.0 (mostly
http2; route address parsing fix on Darwin)
* https://github.com/golang/oauth2/compare/v0.21.0...v0.23.0 (Google
license fix)
* https://github.com/golang/sys/compare/v0.23.0...v0.26.0 (faster
getrandom() on Linux through the vDSO; improved RISC-V support)
* https://github.com/golang/term/compare/v0.23.0...v0.25.0
* https://github.com/golang/time/compare/v0.3.0...v0.7.0 (0-limit
handling fix in x/time/rate; Google license fix)
* https://github.com/golang/tools/compare/v0.24.0...v0.26.0
This doesn’t include golang.org/x/exp; that doesn’t have any relevant
changes. There’s an apidiff fix but we always pull in the latest
apidiff anyway.
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Kubernetes-commit: 6c5a528727c30803d4426b29c06ae5d350619877
2024-10-11 10:22:13 +02:00
Davanum Srinivas
6b8f524c7c
Update moby/runc dependencies
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Kubernetes-commit: 521f2d106b9c5744ce57a8ec03124bcdadbca986
2024-10-10 11:58:22 -04:00
Kubernetes Publisher
d13452aae7
Merge pull request #127485 from seans3/websocket-upgrade-error-info
...
Upgrade websocket failure add extra error info
Kubernetes-commit: 5c96d8d34d44d5c03b206c9e48c8794730692dae
2024-10-11 02:00:19 +01:00
Lukasz Szaszkiewicz
d274c7ba36
client-go/rest/request: decodes initialEventsListBlueprint for watchlist requests
...
Kubernetes-commit: 7be192ae0bd5d9628c5ee37c2e8b843d602c0fa3
2024-10-02 15:03:39 +02:00
Sean Sullivan
3cd3050ffd
Upgrade websocket failure add extra error info
...
Kubernetes-commit: eec2be81681c5ad147df13aad60a003af0c4c48f
2024-09-19 15:47:19 -07:00
Kubernetes Publisher
cd6681f3c4
Merge pull request #127942 from liggitt/json123
...
sigs.k8s.io/json go 1.23 bump
Kubernetes-commit: fc318e3ba4cb1db822d7f802993059846f64179d
2024-10-10 21:56:10 +00:00
Jordan Liggitt
bbcb9ac523
Update sigs.k8s.io/json to go1.23
...
Kubernetes-commit: 8eff759b6ac7c3bb0c6a8823c751f5a578d6f721
2024-10-10 11:00:11 -04:00
Kubernetes Publisher
cae730524e
Merge pull request #127944 from antoninbas/use-generics-for-delaying-queue-waitFor
...
Use generics for waitFor (delaying workqueue) in client-go
Kubernetes-commit: f7fef0384ec1c666e6b68cae83a3b3c6d95aa7b0
2024-10-09 09:55:50 +00:00
Kubernetes Publisher
ba20fcad8f
Merge pull request #127663 from alexanderstephan/export-reflector
...
Export name and typeDescription members of reflector struct
Kubernetes-commit: 95ec69c16c76b5ee71fdbebc7a5dea2c39341eb3
2024-10-09 01:56:00 +00:00
Antonin Bas
3c28f81659
Use generics for waitFor (delaying workqueue) in client-go
...
With this change, we can typically avoid an extra heap allocation when
calling AddAfter with a positive duration (which causes the creation of
a waitFor object). This is because workqueues are typically used with
string keys, and casting a string (or more generally, non-pointer types)
to an `interface{}` will cause an heap escape / allocation.
Ater this change, there is no longer any usage of `type t interface{}`,
which was creating some confusion after the switch to generics in the
workqueue package.
Co-authored-by: Quan Tian <quan.tian@broadcom.com>
Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
Kubernetes-commit: 53ddffb55709857fec6bddbd5ca4ca1b03f7da97
2024-10-08 15:12:11 -07:00
Kubernetes Publisher
0dfea60d7a
Merge pull request #127710 from alvaroaleman/document
...
RestCfg: Add godocs on how to disable ratelimiting
Kubernetes-commit: b2031b3cb46e946ee72eab7bda87b046db138d62
2024-10-08 10:20:58 +00:00
Kubernetes Publisher
5fceb99b61
Merge pull request #127635 from antoninbas/use-generics-for-queue-metrics
...
Use generics for workqueue metrics
Kubernetes-commit: 8461e630acd90a9eeebc7ffffefd81003be394bc
2024-10-08 10:20:56 +00:00
Alvaro Aleman
7416b2ea43
RestCfg: Add godocs on how to disable ratelimiting
...
I frequently find myself in the situation of not remembering which of
QPS/Burst I have to set. This change adds a small go doc to clarify
that.
Kubernetes-commit: cd1645ff2c195fbb353cfabcbc36e3c3b883c3c5
2024-09-27 10:34:15 -04:00
Alexander Stephan
146d03f559
Export name and typeDescription members of reflector struct
...
Kubernetes-commit: 154b8aa8806d743c41d1acf0b498bdecf1767872
2024-09-26 15:09:59 +00:00
Antonin Bas
5b31113588
Use generics for workqueue metrics
...
The workqueue implementation was recently updated to be strongly typed,
using Go generics. However the metrics implementation was not updated,
and continued using interface{}. This translated to unnecessary memory
allocations when invoking the queueMetrics interface methods to track
queue operation. We can avoid these extra heap allocations by using
generics for the metrics implementation as well.
Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
Kubernetes-commit: 1aec7568e111f5855121e3afacacf431e5f95948
2024-09-25 14:35:03 -07:00
Kubernetes Publisher
ca4a13f6de
Merge pull request #127827 from skitt/client-go-obsolete-plugins
...
client-go: remove obsolete auth plugins from examples
Kubernetes-commit: 8c2255657a7288386dc52acbaba81536bd1ac2d3
2024-10-03 21:30:27 +01:00
Stephen Kitt
105983d93c
client-go: remove obsolete auth plugins from examples
...
The azure and gcp plugins no longer do anything other than point to
the corresponding external credential plugins. Client code should no
longer try to load them, so they should be removed from the examples.
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Kubernetes-commit: 4531c6de760ec42941d9f509103f1b29c88bfae0
2024-10-03 11:08:52 +02:00
Kubernetes Publisher
3ecd72cc0b
Merge pull request #127099 from jpbetz/object-selectors-ga
...
Add filtered informers tests for CRD field selectors
Kubernetes-commit: c5f2fc05ad5ef3d68f35263f9f965101b371b8cc
2024-10-02 02:00:09 +00:00
Kubernetes Publisher
415a0d6789
Merge pull request #127765 from alvaroaleman/fix
...
Fix accidental breaking change in TypedNewDelayingQueue
Kubernetes-commit: 35065cb5948fca4411007a25642b88d4b0aa60ff
2024-10-01 06:31:25 +00:00
Alvaro Aleman
71640ef872
Fix accidental breaking change in TypedNewDelayingQueue
...
It was added for compatibility reason but ended up getting a `config`
argument by accident, resulting in not actually being compatible, this
change fixes that.
Kubernetes-commit: 6933c1bc229c196e9c71061e19a0cdc76adb1dbc
2024-09-30 18:33:30 -04:00
Kubernetes Publisher
46093399c4
Merge pull request #127689 from mmorel-35/testifylint/expected-actual@k8s.io/client-go
...
fix: enable expected-actual rule from testifylint in module `k8s.io/client-go`
Kubernetes-commit: 93f82d25a5b10577116e4a72f77fb5e635e65490
2024-09-29 08:25:23 +00:00
Kubernetes Publisher
ea4f3d0f6f
Merge pull request #127682 from mmorel-35/testifylint/nil-compare@k8s.io/client-go
...
fix: enable error-nil and nil-compare rules from testifylint in module `k8s.io/client-go`
Kubernetes-commit: 0661f1b5b3b1b292ebadc14a462d1a29e75fbce6
2024-09-28 20:25:09 +00:00
Kubernetes Publisher
2d7a47c42b
Merge pull request #126764 from liggitt/mergo
...
reimplement merge to drop mergo dependency
Kubernetes-commit: ee74baec6e05afde972f1a8705d4f8efe066f120
2024-09-28 08:24:59 +00:00
Kubernetes Publisher
e2b5fa74cd
Merge pull request #127535 from mmorel-35/testifylint/contains@k8s.io/client-go
...
fix: enable contains rule from testifylint in module `k8s.io/client-go`
Kubernetes-commit: a9cc5030f82bb8cc85f432cf64d315f4583afd09
2024-09-28 04:25:59 +00:00
Kubernetes Publisher
374753a638
Merge pull request #127539 from mmorel-35/testifylint/error-is-as@k8s.io/client-go
...
fix: enable error-is-as rule from testifylint in module `k8s.io/client-go`
Kubernetes-commit: 04ff7bd30397a12322b10294953673cca8c02db0
2024-09-28 04:25:58 +00:00
Matthieu MOREL
9d7f486102
fix: enable expected-actual rule from testifylint in module k8s.io/client-go
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Kubernetes-commit: 8286a69034d58e1ceafd6a6e5590bfcebd920b5b
2024-09-27 07:48:55 +02:00
Matthieu MOREL
84137c2466
fix: enable error-nil and nil-compare rules from testifylint in module k8s.io/client-go
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Kubernetes-commit: 71ced25f44dce83297388ca8ac0aa60afb93b009
2024-09-27 07:28:52 +02:00