Commit Graph

116098 Commits

Author SHA1 Message Date
Lars Ekman
e496085bd3 Kube-proxy/ipvs: accept access to healthCheckNodePort on LbIP 2023-05-02 15:51:22 +02:00
m.nabokikh
40de26dcff KEP-3325: Promote SelfSubjectReview to GA
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2023-05-02 14:50:40 +02:00
Piotr Betkier
d952437921
Fix flaky HPA e2e tests by not failing on context cancelled (#117669)
* Fix flaky HPA e2e tests by not failing on context cancelled

Consume requests are sent during test execution in a loop in a separate goroutine. Once the test completes, it is expected that a consumption request may be pending. Cancelling the request during cleanup should not cause test failures.

Tests started being flaky since #112923 introduced passing test context that gets cancelled during cleanup.

* Use PollUntilContextTimeout and restructure error ignoring logic
2023-05-02 05:42:12 -07:00
Patrick Ohly
5fff8cae74 dependencies: klog v2.100.1 2023-05-02 13:22:30 +02:00
Kubernetes Prow Robot
f51dad586d
Merge pull request #94021 from timoreimann/support-specifying-custom-lb-retry-period-from-cloud-provider
Support specifying custom LB retry period from cloud provider
2023-05-02 01:52:11 -07:00
Tim Hockin
d55b67b349
Clean up brace whitespace in **/validation_test.go
This was making my eyes bleed as I read over code.

I used the following in vim.  I made them up on the fly, but they seemed
to pass manual inspection.

:g/},\n\s*{$/s//}, {/
:w
:g/{$\n\s*{$/s//{{/
:w
:g/^\(\s*\)},\n\1},$/s//}},/
:w
:g/^\(\s*\)},$\n\1}$/s//}}/
:w
2023-05-02 00:48:42 -07:00
Kubernetes Prow Robot
19830bf51b
Merge pull request #117627 from skitt/intstr-fromint32-cloud-node
kubelet: use new intstr functions
2023-05-01 23:42:22 -07:00
Kubernetes Prow Robot
0a37874037
Merge pull request #117430 from charles-chenzz/refactoring_util_pkgs
remove Mkdirtemp func to reduce util pkg for testing
2023-05-01 23:42:11 -07:00
Timo Reimann
2ad2c15c9c Update copyright year to 2023 2023-05-02 07:59:48 +02:00
Timo Reimann
b464d08427 Remove custom fake svc lister in favor of regular indexer 2023-05-02 07:59:16 +02:00
Kubernetes Prow Robot
544bd825f9
Merge pull request #117394 from sourcelliu/allowli
Remove unnecessary if judgments
2023-05-01 22:34:30 -07:00
Kubernetes Prow Robot
f5fff0f2bc
Merge pull request #117105 from yoongon/feature/assert-order
Swap assert.Equal parameters oders to follow convention
2023-05-01 22:34:22 -07:00
Kubernetes Prow Robot
9121e82e64
Merge pull request #117050 from charles-chenzz/remove_seccomp
remove seccomp profile path on security context
2023-05-01 22:34:11 -07:00
yulng
b899ae4847
remove genericfeatures.DryRun in 1.28
Signed-off-by: yulng <wei.yang@daocloud.io>
2023-05-02 13:16:31 +08:00
Kubernetes Prow Robot
72afd8558e
Merge pull request #117612 from saschagrunert/image-pull-errors
Fix image pull error type `ErrRegistryUnavailable`
2023-05-01 21:30:19 -07:00
Kubernetes Prow Robot
1241ddc567
Merge pull request #116376 from swatisehgal/device-mgr-recovery-wip
node: device-mgr: Handle recovery flow by checking if healthy devices exist- attempt 2
2023-05-01 21:30:11 -07:00
Kubernetes Prow Robot
d6471d01a4
Merge pull request #115843 from rikatz/remote-netpol-status
Remove/Withdraw  NetworkPolicy Status
2023-05-01 18:30:10 -07:00
Kubernetes Prow Robot
af20b027c6
Merge pull request #117568 from alexzielenski/apiserver/smp/merge-with-empty
Fix Strategic Merge merging leaving patch directives in objects when field doesn't exist
2023-05-01 16:34:23 -07:00
Kubernetes Prow Robot
2588ae9a04
Merge pull request #114998 from alexzielenski/apiserver/smd/ssa-conditionals
Fix SSA being silently disabled by lack of OpenAPI config
2023-05-01 16:34:11 -07:00
Stephen Heywood
c6bdde8051 Create e2e test for APIResources endpoints
e2e test validates the following 12 endpoints
- getAutoscalingV1APIResources
- getAutoscalingV2APIResources
- getPolicyV1APIResources
- getEventsV1APIResources
- getCoordinationV1APIResources
- getSchedulingV1APIResources
- getApiregistrationV1APIResources
- getAppsV1APIResources
- getAuthenticationV1APIResources
- getAuthorizationV1APIResources
- getBatchV1APIResources
- getCoreV1APIResources
2023-05-02 10:13:15 +12:00
Kubernetes Prow Robot
46852cab7f
Merge pull request #117570 from marosset/remove-hostprocess-containers-featuregate
Removing WindowsHostProcessContainers feature-gate
2023-05-01 14:24:11 -07:00
Mark Rossetti
ab9c8eb1e8
Removing WindowsHostProcessContainers feature-gate
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2023-05-01 13:30:38 -07:00
Alexander Zielenski
077cc20f8a fixup patcher test to include field manager 2023-05-01 13:19:46 -07:00
Alexander Zielenski
ad5cda4d21 remove checks for fieldmanager from handlers
it should never be nil
2023-05-01 13:19:46 -07:00
Alexander Zielenski
4721ec7519 include apiextensions types in apiextensions generated openapi
k8s_tag_files_matching looks for a slash after its argument, so the current value doesnt match anything

also update codegen

this is required for apiextensions-apiserver tests. After fixing apiextensions server tests to use type-aware SSA (instead of erroneously using untyped SSA) there were errors since none of the apiextensions types were actually used in the openapi given to tests.
2023-05-01 13:18:44 -07:00
Alexander Zielenski
08e756342c fix scale not being given gvk in CRD openapi schemas
relates to  #116311
2023-05-01 13:18:44 -07:00
Alexander Zielenski
ffb9c076d7 add OpenAPIV3 config to tests and server options 2023-05-01 13:18:44 -07:00
Alexander Zielenski
c2177dca5f add error for attempting to initialize field manager with nil typeconverter 2023-05-01 13:15:23 -07:00
Alexander Zielenski
94909af68a supply deduced typeconverter to apiserver tests 2023-05-01 13:15:22 -07:00
Alexander Zielenski
302daa889c Throw error if OpenAPIV3 config is not provided
it is required for Server-SIde-Apply to function correctly (SSA is based on OpenAPI schemas)
2023-05-01 13:14:03 -07:00
Kubernetes Prow Robot
3f8c4794ea
Merge pull request #117705 from Jefftree/update-openapi-fix-race
Update kube-openapi to fix race
2023-05-01 12:30:23 -07:00
Kubernetes Prow Robot
312bfa5505
Merge pull request #110472 from brianpursley/k-110407
Fix strategic merge patch $deleteFromPrimitiveList bug
2023-05-01 12:30:12 -07:00
Alexander Zielenski
1b76683967 filter out directives before taking patch value as-is 2023-05-01 11:53:58 -07:00
Alexander Zielenski
6de6cd0a65 add integration test for nested $patch in SMP 2023-05-01 11:53:58 -07:00
Alexander Zielenski
e00a9c3a0b add subtests
reorganize some SMP tests to make them easier to target via go run patterns
2023-05-01 11:53:57 -07:00
Ricardo Katz
ffeec1f4d4 Update compatibility data test 2023-05-01 15:19:25 -03:00
Ricardo Katz
ec997d5433 Generated files for NetworkPolicyStatus removal 2023-05-01 15:19:25 -03:00
Ricardo Katz
bff8a6cd9f Remove withdrawn feature NetworkPolicyStatus 2023-05-01 15:19:25 -03:00
Kubernetes Prow Robot
73bd83cfa7
Merge pull request #117624 from skitt/intstr-fromint32-apps
Apps: use new intstr functions
2023-05-01 11:18:16 -07:00
Timo Reimann
0fcf42f321 Move test double queue to test file and unexport 2023-05-01 20:18:14 +02:00
Timo Reimann
208af2d1d8 Localize SpyWorkQueue to cloud-provider for now 2023-05-01 20:18:14 +02:00
Timo Reimann
a15013ec8b Document RetryError properly 2023-05-01 20:18:14 +02:00
Timo Reimann
73bc9861d2 Improve error logging in processNextServiceItem 2023-05-01 20:18:14 +02:00
Timo Reimann
18e978a89d Improve RetryError GoDocs 2023-05-01 20:18:14 +02:00
Kubernetes Prow Robot
32703dec0f
Merge pull request #117623 from skitt/intstr-fromint32-api-machinery
API machinery: use new intstr functions
2023-05-01 11:18:07 -07:00
Kubernetes Prow Robot
540f478774
Merge pull request #117622 from skitt/intstr-fromint32-api
API: use new intstr functions
2023-05-01 11:17:55 -07:00
Kubernetes Prow Robot
5053b43d34
Merge pull request #117629 from skitt/intstr-fromint32-cloud-registry
Registry: use new intstr functions
2023-05-01 10:20:30 -07:00
Kubernetes Prow Robot
34d6b92a8c
Merge pull request #117576 from wzshiming/fix/clientcmd-localtion-of-origin
Fix LocationOfOrigin shows up unexpectedly
2023-05-01 10:20:18 -07:00
Jefftree
de34540248 Update kube-openapi to fix race 2023-05-01 17:19:03 +00:00
Kubernetes Prow Robot
d33853edcf
Merge pull request #117253 from akhilerm/update-containerd-dependencies
dependencies: update cgroups, ttrpc, ebpf versions
2023-05-01 08:50:18 -07:00