Tim Hockin
45c9e06616
Fix errant debugging code in codegen
2023-06-02 10:09:51 -07:00
Kubernetes Prow Robot
bd0ac4cba3
Merge pull request #118384 from Jefftree/gnostic-models-branch
...
Update gnostic library to point to gnostic-models
2023-06-02 10:06:53 -07:00
Jefftree
2111e79f56
Update gnostic references
2023-06-02 14:34:26 +00:00
Jefftree
1993a4cb37
vendor
2023-06-02 14:34:25 +00:00
Kubernetes Prow Robot
decf1e1a9b
Merge pull request #117870 from howardjohn/client/run-errorhandler-race
...
informer: fix race against Run and SetTransform/SetWatchErrorHandler
2023-06-01 15:41:45 -07:00
Kubernetes Prow Robot
2815a28dfa
Merge pull request #118339 from jpbetz/bump-cel-go
...
Bump cel go to latest version
2023-06-01 09:09:46 -07:00
Kubernetes Prow Robot
1bcc388dc6
Merge pull request #118351 from pohly/dra-test-driver-grpc-calls
...
DRA test driver: GRPC calls
2023-06-01 03:33:46 -07:00
Kubernetes Prow Robot
82f7cf6010
Merge pull request #117930 from LronDC/master
...
kubectl: optimize usage message of commands which have subcommands.
2023-06-01 02:19:46 -07:00
Patrick Ohly
d0a64739e2
e2e dra: collect and check GRPC calls
...
If kubelet plugin registration fails, it would be good to know more about the
communication with kubelet. Capturing the GRPC calls and then checking that
makes the failure messages more informative. Here's an example where a failure
was triggered by temporarily modifying the check so that it didn't find the
call:
[FAILED] Timed out after 30.000s.
Expected:
<[]app.GRPCCall | len:2, cap:2>: [
{
FullMethod: "/pluginregistration.Registration/GetInfo",
Request:
{},
Response:
endpoint: /var/lib/kubelet/plugins/test-driver/dra.sock
name: test-driver.cdi.k8s.io
supported_versions:
- 1.0.0
type: DRAPlugin,
Err: nil,
},
{
FullMethod: "/pluginregistration.Registration/NotifyRegistrationStatus",
Request:
plugin_registered: true,
Response:
{},
Err: nil,
},
]
to contain successful NotifyRegistrationStatus call
2023-06-01 09:58:05 +02:00
Joe Betz
68901de898
Enable optionals and add tests
2023-05-31 18:36:50 -04:00
Joe Betz
5c0b59891d
Bump cel-go to v0.16.0
2023-05-31 18:36:43 -04:00
John Howard
35d2431b3a
informer: fix race against Run and SetTransform/SetWatchErrorHandler
...
`SetWatchErrorHandler` claims it will fail if Run() has already started.
But if they are called concurrently, it will actually trigger a data
race.
With this PR:
```
62702 runs so far, 0 failures (100.00% pass rate). 59.152682ms avg, 189.068387ms max, 26.623785ms min
```
Without this PR:
```
5012 runs so far, 38 failures (99.25% pass rate). 58.675502ms avg, 186.018084ms max, 29.468104ms min
```
2023-05-31 08:24:26 -07:00
Kubernetes Prow Robot
e1af716860
Merge pull request #115694 from mpuckett159/fix/explain-jsonpath
...
Fix/explain jsonpath
2023-05-30 18:19:44 -07:00
Kubernetes Prow Robot
12d3f5ce1a
Merge pull request #117602 from alexanderConstantinescu/revise-providerid
...
[KCCM]: have providerID trigger re-sync, but not be required for load balancer syncs
2023-05-30 14:57:44 -07:00
Kubernetes Prow Robot
fe9ef26af5
Merge pull request #113362 from sxllwx/ftr/extract_listobject_use_copy
...
Faster ExtractList. Add ExtractListWithAlloc variant.
2023-05-29 09:25:43 -07:00
Kubernetes Prow Robot
7f2a1e8cd3
Merge pull request #118132 from marseel/improve_reflector_retries
...
Improve backoff policy in reflector.
2023-05-29 08:23:44 -07:00
wangxiang
4b4b3b71b7
clean up dead code
2023-05-29 21:40:46 +08:00
Jordan Liggitt
bf116e8594
Optimize reflect checks further, save item type information
2023-05-28 00:46:35 -04:00
scott
12e3d9fcc4
Implement WithAlloc variants for EachListItem and ExtractList
2023-05-28 00:46:35 -04:00
scott
efc601302a
Extract List reflect optimization
2023-05-27 23:26:36 -04:00
scott
b8a3bd673d
Add WithAlloc interface and stub implementations with base benchmarks
2023-05-27 23:26:35 -04:00
Kubernetes Prow Robot
b374404825
Merge pull request #117505 from SergeyKanzhelev/localhostOnWord
...
change the seccompProfile field description to match the imlpementation
2023-05-27 14:09:40 -07:00
Kubernetes Prow Robot
d05b79c836
Merge pull request #118269 from liggitt/genproto
...
Update google.golang.org/genproto
2023-05-26 14:43:25 -07:00
Jordan Liggitt
a045fedd02
Update google.golang.org/genproto
2023-05-26 13:20:33 -04:00
Kubernetes Prow Robot
c35a2775b2
Merge pull request #115554 from yt2985/cleanSA
...
LegacyServiceAccountTokenCleanUp alpha
2023-05-26 08:54:53 -07:00
Kubernetes Prow Robot
8233635d52
Merge pull request #118274 from kerthcet/chore/fix-the-usage-example
...
Chore: fix the example about how to use PollUntilContextTimeout
2023-05-26 06:07:04 -07:00
kerthcet
7d2e1888f8
Chore: fix the example about how to use PollUntilContextTimeout
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-05-26 14:13:35 +08:00
LronDC
15678e4a67
Optimize usage message of commands which have subcommands.
...
Signed-off-by: LronDC <lun.su@daocloud.io >
2023-05-26 10:07:43 +08:00
Kubernetes Prow Robot
36d81a5818
Merge pull request #118054 from johanoskarsson/johan_leader_election_lock_id_validate
...
Validate lock identity
2023-05-25 08:44:52 -07:00
Kubernetes Prow Robot
6911d3b2b8
Merge pull request #118235 from kkkkun/set_watchlist_env
...
Lookup ENABLE_CLIENT_GO_WATCH_LIST_ALPHA in NewReflectorWithOptions
2023-05-25 02:42:51 -07:00
Kubernetes Prow Robot
03ebd4b7ef
Merge pull request #116656 from HirazawaUi/fik-fd-leaks
...
Cleanup fd leaks and file removal cleanup
2023-05-24 22:50:50 -07:00
tinatingyu
133eff3df4
implement LegacyServiceAccountTokenCleanUp alpha
2023-05-24 23:20:17 +00:00
Kubernetes Prow Robot
8cb4ff16fb
Merge pull request #117625 from skitt/intstr-fromint32-cli
...
CLI: use new intstr functions
2023-05-24 14:46:49 -07:00
Jefftree
27057def05
Signature fix for registeropenapi
2023-05-24 19:00:15 +00:00
Jefftree
4373ae05f3
Update vendor
2023-05-24 18:55:36 +00:00
Arda Güçlü
2ea6896f90
Add warning log callback in client-go loading rules ( #117233 )
...
* Add warning log callback in client-go loading rules
This provides a way to consumers use their own custom warning
mechanisms instead default klog warning.
* Use typed error instead plain string
* Fix interface change in unit test
2023-05-24 09:08:50 -07:00
kkkkun
2eed9b4143
Should get ENABLE_CLIENT_GO_WATCH_LIST_ALPHA when new reflector
...
Signed-off-by: kkkkun <scuzk373x@gmail.com >
2023-05-24 21:10:01 +08:00
Keita Mochizuki
0813904404
Fix: Restricted profile comply with PSS ( #117543 )
...
* restricted profile comply with PSA v1.27
* add test case
* Reflect review comments
* Reflect review comments 2
* Reflect review comments 3
2023-05-24 04:16:49 -07:00
Arda Güçlü
0bff705acd
Preserve code blocks in templates.Normalizer ( #118029 )
...
* Preserve code blocks in templates.Normalizer
Currently, if templates.LongDesc function is invoked multiple times
for a string including a code block, this code block is converted to
invalid code block.
The reason of this issue is that blackfriday package, which templates package uses, relies on
4 * indentation to detect code blocks. This PR always preserves
4 * indentation in code blocks to always detect it code blocks in also
post invocations.
* Add indentations to test for code blocks
* Use strings.repeat for repetition
2023-05-23 23:20:49 -07:00
Kubernetes Prow Robot
12386e2de1
Merge pull request #114053 from brianpursley/fix-update-translations
...
hack/update-translations.sh: Improve backslash handling
2023-05-23 09:06:29 -07:00
Kubernetes Prow Robot
27661b66cf
Merge pull request #118084 from enj/enj/f/cache_get_expired
...
kmsv2: ignore cache key expiration on reads
2023-05-22 10:42:59 -07:00
Kubernetes Prow Robot
d9df6b0331
Merge pull request #117251 from linxiulei/wh
...
Make connection lost retryable in webhook
2023-05-22 09:34:58 -07:00
Monis Khan
86a258b13a
kmsv2: ignore cache key expiration on reads
...
Signed-off-by: Monis Khan <mok@microsoft.com >
2023-05-22 11:51:23 -04:00
HirazawaUi
b6364dddfe
update webhook test to go 1.21
2023-05-21 21:32:45 +08:00
Eric Lin
2658a2b627
Make connection lost retryable in webhook
...
When a http2 connection dies due to ping timeout, http2 client gets an
error of "http2: client connection lost". This is similar to
ConnectionReset case so it should be retryable.
Signed-off-by: Eric Lin <exlin@google.com >
2023-05-20 19:02:55 +00:00
Kubernetes Prow Robot
6d09ab86c2
Merge pull request #118093 from Icarus9913/fix/wk/apiserver
...
fix apiserver InstallAPIGroups slices out of range
2023-05-19 16:28:17 -07:00
Marcel Zieba
337728b025
Improve backoff policy in reflector.
...
Before, we've used two separate backoff managers for List and Watch
calls, now they share single backoff manager.
2023-05-19 15:47:11 +02:00
Icarus9913
07c9455360
fix apiserver InstallAPIGroups slices out of range
...
Signed-off-by: Icarus9913 <icaruswu66@qq.com >
2023-05-19 09:53:42 +08:00
Kubernetes Prow Robot
bb67eb5bd2
Merge pull request #117952 from atiratree/fix-kubectl-plugin-tests
...
fix false positive kubectl plugin unit tests
2023-05-18 00:34:33 -07:00
Kubernetes Prow Robot
b8e460fe4d
Merge pull request #118086 from aramase/aramase/c/refactor_grpc_status_code_err
...
update err status code check in transformation metrics
2023-05-17 15:42:47 -07:00