Commit Graph

115852 Commits

Author SHA1 Message Date
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
Shiming Zhang
d0677f528c Add json tag 2023-05-01 23:05:32 +08:00
charles-chenzz
aaa30439bd reduce util pkg for testing in tempdir. 2023-05-01 19:58:41 +08:00
Stephen Kitt
026e7c7cb3
registry: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-01 09:17:45 +02:00
Stephen Kitt
0ee9f1b7a7
kubelet: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-01 09:17:35 +02:00
Stephen Kitt
1c4b97ea27
network: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-01 09:17:30 +02:00
Stephen Kitt
5bfe738af2
apps: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-01 09:17:05 +02:00
Stephen Kitt
94410ee807
api-machinery: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-01 09:16:27 +02:00
Stephen Kitt
4911e9de4a
api: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-01 09:16:15 +02:00
Kubernetes Prow Robot
f871d5fabe
Merge pull request #116665 from skitt/intstr-fromint32
intstr: add constructor from int32, deprecate int constructor
2023-04-30 23:08:17 -07:00
Timo Reimann
fc8b4657c1 Add tests 2023-04-30 22:43:56 +02:00
Timo Reimann
ea4ce5dc28 Alias api/errors instead of stdlib errors 2023-04-30 22:37:34 +02:00
Timo Reimann
a179203bdb Support specifying custom LB retry period from cloud provider
This change allows cloud providers to specify a custom retry period by
returning a RetryError. The purpose is to bypass the work queue-driven
exponential backoff algorithm when there is no need to back off.

Specifically, this can be the case when a cloud load balancer operation
such as a create or delete is still pending and the cloud API should be
polled for completion at a constant interval. A backoff algorithm would
not always be reasonable to apply here since there is no API or
performance degradation warranting an increasing wait time between API
requests.
2023-04-30 22:37:34 +02:00
Kubernetes Prow Robot
4115b2b180
Merge pull request #117664 from carlory/fix-006
Remove ability to re-enable serving deprecated discoveryv1beta1 APIs
2023-04-30 08:18:16 -07:00
carlory
da922f0af6 Remove ability to re-enable serving deprecated discoveryv1beta1 APIs 2023-04-30 19:21:46 +08:00
Kubernetes Prow Robot
f47d7f3a16
Merge pull request #117690 from pacoxu/revert-117297-proxy-startup-config
Revert "proxy startup-time config handling cleanup"
2023-04-30 03:08:17 -07:00
Kubernetes Prow Robot
bc872028ab
Merge pull request #117660 from pacoxu/UpgradeAddonsBeforeControlPlane
kubeadm: add deprecated FG UpgradeAddonsBeforeControlPlane
2023-04-29 20:50:17 -07:00
Kubernetes Prow Robot
7278eaddca
Merge pull request #117661 from carlory/fix-004
Remove ability to re-enable serving deprecated autoscalingapiv2beta APIs
2023-04-29 19:52:23 -07:00
Kubernetes Prow Robot
141e207219
Merge pull request #117347 from mohitsharma-in/deps-update/warnings-v0.1.2
dependencies : update gopkg.in/warnings.v0 v0.1.2
2023-04-29 19:52:16 -07:00
Paco Xu
e28f3de656
Revert "proxy startup-time config handling cleanup" 2023-04-30 09:05:42 +08:00