Commit Graph

107552 Commits

Author SHA1 Message Date
Carlos Eduardo Arango Gutierrez
a435ad33f4
Cleanup: pkg/util/ipset
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2022-03-25 14:14:17 -04:00
Stephen Heywood
a1f6b7b7ec Create job lifecycle e2e test
The test validates the following endpoints
- deleteBatchV1CollectionNamespacedJob
- listBatchV1JobForAllNamespaces
- patchBatchV1NamespacedJob
- replaceBatchV1NamespacedJob
2022-03-26 06:58:38 +13:00
Aldo Culquicondor
cd9fd12960 Reduce number of pods in Job+GC tests
To reduce the load of the integration tests. This change reduces the runtime of each test in half.

Change-Id: I71bcaadf3809643c63bb0f6b73c28778d37d8967
2022-03-25 13:01:50 -04:00
Hemant Kumar
5e49fb067f Fix flexvolume online resizing tests 2022-03-25 12:52:49 -04:00
Abu Kashem
1d1a44cf12
track latency for http.ResponseWriter.Write 2022-03-25 12:49:03 -04:00
Abu Kashem
eca9085694
add latency tracker for storage and transform 2022-03-25 12:45:40 -04:00
Jordan Liggitt
37952b7dbc Make strict json unstructured decoding consistent with non-strict decoding 2022-03-25 12:08:07 -04:00
Jordan Liggitt
48d3fde39f Expand testcases around untyped data in json decoding 2022-03-25 12:08:06 -04:00
Stanislav Laznicka
b2c6de170b
webhooks: regenerate certificates for additional sha-1 signatures 2022-03-25 16:57:40 +01:00
Stanislav Laznicka
fee08cc580
webhooks: gencerts.sh: add intermediate and server certs with sha-1 signatures 2022-03-25 16:57:40 +01:00
Mark Rossetti
04d85fbafc CRI-API - Add rootfs size to WindowsContainerResources
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-03-25 08:43:40 -07:00
Jakub Przychodzeń
d6db6443b4 Rework 'running_managed_controllers' metric interface 2022-03-25 16:12:33 +01:00
Kubernetes Prow Robot
5e63432f79
Merge pull request #108954 from jpbetz/cel-0.11.1
Use CEL EagerlyValidateDeclarations to improve compilation performance
2022-03-25 07:43:59 -07:00
Abu Kashem
868b5a31d3
client-go: wrap error from previous attempt to provide more context 2022-03-25 10:09:25 -04:00
Joe Betz
6c6d76c69e Initialize a base CEL env and share it to avoid repeated function declaration validation 2022-03-25 09:18:49 -04:00
Joe Betz
4c90653d19 Bump CEL to 0.11.2 2022-03-25 09:18:41 -04:00
Kubernetes Prow Robot
e7845861a5
Merge pull request #108986 from gnufied/use-temp-dir-shutdown-tests
Use tempdir for shutdown tests
2022-03-25 05:17:51 -07:00
Fabio Bertinatto
9e4fa29982 Fix max file size in Azure File tests 2022-03-25 08:56:56 -03:00
Fabio Bertinatto
dafa0e178d Fix volume creation and deletion of Azure File tests 2022-03-25 08:56:56 -03:00
Fabio Bertinatto
b5cff9219d Add storage tests for Azure File in-tree storage plugin 2022-03-25 08:56:56 -03:00
Kubernetes Prow Robot
4348c8ecaf
Merge pull request #108752 from alculquicondor/job-orphan-pods
Fix: Clean job tracking finalizer from orphan pods
2022-03-25 03:21:51 -07:00
Maciej Szulik
43c09f6f9d
Start deprecating long/golang version information 2022-03-25 09:45:20 +01:00
cici37
025a4ac38e Update due to inconsistent message got from kube-openapi 2022-03-25 01:19:31 -07:00
cici37
4bb5516163 Remove unused func 2022-03-25 01:19:31 -07:00
Jordan Liggitt
50795b1afa Update err handling 2022-03-25 01:19:31 -07:00
cici37
460121fa1e Return a placeholder error for blocking failure before CEL validation. 2022-03-25 01:19:31 -07:00
Sascha Grunert
57a3ce1a3e
Inject SSH public key into CRI-O serial prow jobs
This allows using the `GCE_SSH_PUBLIC_KEY_FILE_CONTENT` placeholder to
inject the public SSH key for running the tests.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-03-25 08:23:57 +01:00
Kubernetes Prow Robot
d58f42961c
Merge pull request #99556 from nikhita/kubectl-subresources-01
kubectl: support --subresource flag
2022-03-24 23:43:50 -07:00
Kubernetes Prow Robot
cee5e9f406
Merge pull request #108892 from mkimuram/issue/108891
e2e: deflake "should run through the lifecycle of Pods and PodStatus"
2022-03-24 22:08:01 -07:00
Kubernetes Prow Robot
ef404e989d
Merge pull request #108073 from benluddy/cel-transition-rule-oldself-plumbing
Support CEL CRD validation expressions that reference existing object state.
2022-03-24 22:07:50 -07:00
Andrew Sy Kim
45e6498fc5 test/e2e_node/plugins/gcp-credential-provider: update Test_getCredentials to validate against v1beta1 kubelet APIs
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-24 23:29:13 -04:00
Andrew Sy Kim
3600a7a355 test/e2e_node: update test plugin to use v1beta1 kubelet APIs
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-24 23:29:06 -04:00
Andrew Sy Kim
ef3c4fb3cd test/e2e_node: update credential provider config to use v1beta1 kubelet
APIs

Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-24 23:28:37 -04:00
Kubernetes Prow Robot
bfe649dbc0
Merge pull request #108965 from adisky/add-crdential-flag-to-ubuntu
[node e2e] prepend credential provider flags on ubuntu os also
2022-03-24 20:06:05 -07:00
Kubernetes Prow Robot
68cf2a60c6
Merge pull request #108847 from adisky/update-credential-api
Move kubelet credential provider feature flag to beta and update the api's
2022-03-24 20:05:53 -07:00
pengpeng wu
f67ec386a5 Fix: Correct spelling mistakes in cmd/kubeadm/app/cmd/phases/workflow/runner_test.go 2022-03-25 10:08:00 +08:00
Kubernetes Prow Robot
d60df5ba04
Merge pull request #108159 from pohly/logcheck
logcheck update and golangci-lint integration
2022-03-24 18:37:50 -07:00
Joe Betz
f71c4d4cf4 Add validation rule tests for transition rules 2022-03-24 21:19:50 -04:00
Tim Bannister
539b6173e9
Avoid using Docker Engine as example for container runtime
Docker Engine isn't directly compatible with recent Kubernetes.
2022-03-25 00:36:50 +00:00
Kubernetes Prow Robot
750cb93e62
Merge pull request #104736 from lauchokyip/improveFlags
Beautify kubectl help flag commands
2022-03-24 17:33:50 -07:00
Lubomir I. Ivanov
fe7af1c68b bump k8s.io/system-validators to v1.7.0
- add blkio as an optionally required cgroup
- update blang/semver to v4
- bump the min go version to 1.16
2022-03-25 02:26:01 +02:00
Tim Bannister
b803c8ebe2
Update types to be neutral about container runtime
Replace references to Docker / Docker Engine with more neutral
terminology.
2022-03-24 23:46:31 +00:00
Ben Luddy
fe38a414f8 Allow and enforce CEL CRD validation rules that reference oldSelf.
Co-authored-by: Joe Betz <jpbetz@google.com>
2022-03-24 18:20:51 -04:00
Mark Rossetti
2e036ad7c3 Fixing logic for kubelet permissions check on windows
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-03-24 14:57:08 -07:00
Jiahui Feng
679dc8322c do not round trip embedded v2 2022-03-24 14:44:15 -07:00
Steve Kuznetsov
2631c0a0f9
pkg/storage/etcd3: be more precise in watch test
Previously, this test assumed that:
 - a global watch would return only an event for the key in question
 - only the delete event in question would be returned

Neither of these assumptions are correct for an etcd backend as long
as any other clients are interacting with the system. This commit
makes the watch more specific and extracts the correct event.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-03-24 13:03:31 -08:00
Alex Zielenski
11b3a18cca
Update kube-openapi (#108895)
* upgrade k8s.io/kube-openapi

* fix open-api v3 blank aggregator output

* use keys as API group

in ./hack/update-openapi-spec.sh

* fix import grouping

* update openapiv3 integration tests
2022-03-24 14:01:01 -07:00
Kubernetes Prow Robot
bd1e7dc3cb
Merge pull request #108817 from KnVerey/kustomize_version
Expose the version of Kustomize that Kubectl embeds
2022-03-24 14:00:53 -07:00
Kubernetes Prow Robot
9bb5823b83
Merge pull request #108455 from Argh4k/race-conditions
Copy request in timeout handler
2022-03-24 14:00:41 -07:00
James Sturtevant
61af67ef10 Don't assume bash is avaliable for webhook deployment 2022-03-24 13:06:49 -07:00