Commit Graph

113283 Commits

Author SHA1 Message Date
Damien Grisonnet
21f2f746ab event_broadcaster: update isomorphic event def
Update the definition of an isomorphic event in the events/v1 client to
match the aggregation logic that was already present in the core/v1
implementation.

The note field was omitted even though the message was used in the core
API aggregation because we didn't reach consensus.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2023-01-10 19:29:27 +01:00
Andy Goldstein
f14cc7fdfc
CR conversion: protect from converter input edits
Deep copy the input list before invoking the converter to protect from a
converter that mutates the input list.

Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2023-01-10 12:53:16 -05:00
Claudiu Belu
3af2c257e8 unit tests: Fixes kubeadm enforce requirements test
enforceRequirements will run preflight checks, including whether the user
is privileged is not. Because of this, the test will make different assertions
based on the user's UID. However, we don't have UIDs on Windows, so we're asserting
the wrong thing.

This fix addresses the issue.
2023-01-10 16:56:14 +00:00
Kubernetes Prow Robot
50a0bc8de1
Merge pull request #114953 from enj/enj/i/csi_migration_file_gate
Prevent CSIMigrationAzureFile gate from being disabled
2023-01-10 08:55:38 -08:00
Kubernetes Prow Robot
ef2ef15476
Merge pull request #114952 from liggitt/verify-vendor-tidy
Improve vendor verification works for each staging repo
2023-01-10 08:55:26 -08:00
Jordan Liggitt
3b64cb5f11
Include head and tail of clipped test messages 2023-01-10 11:26:34 -05:00
Kubernetes Prow Robot
5cbd6960c8
Merge pull request #114937 from seans3/export-delete-option
Exports WarningPrinter field in DeleteOptions
2023-01-10 06:59:28 -08:00
kannon92
6dfaeff33c Remove Legacy Job Tracking 2023-01-10 14:52:54 +00:00
Monis Khan
0b22cb0b72
Prevent CSIMigrationAzureFile gate from being disabled
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-01-10 09:43:35 -05:00
Jordan Liggitt
94ae3cbc41
Improve vendor verification works for each staging repo 2023-01-10 09:30:47 -05:00
RuquanZhao
d5b4644d23 fix doc of types.go of network v1, v1alpha1, v1beta1
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com>
2023-01-10 20:24:51 +08:00
Kubernetes Prow Robot
2ed47bd81b
Merge pull request #114933 from gnufied/disable-multiple-pv-tests-vsphere
Disable multiple pv mount tests for vsphere intree driver
2023-01-10 03:05:26 -08:00
Patrick Ohly
0424c4654e e2e gcp: use timeout from f.Timeouts
This is simpler, no need to construct an entirely new struct anymore.
2023-01-10 11:36:45 +01:00
Sean Sullivan
34aa661eed Removes kube-openapi dependency from Patcher 2023-01-09 22:43:06 -08:00
Kubernetes Prow Robot
3742d14998
Merge pull request #114863 from danlenar/master
Use label selector for filtering out resources when pruning for kubectl diff.
2023-01-09 22:13:25 -08:00
Sean Sullivan
75ff830ab1 Exports WarningPrinter field in DeleteOptions 2023-01-09 20:53:48 -08:00
root
0f186fd6d8 Fixes the issue #114145 2023-01-10 04:49:49 +00:00
Kubernetes Prow Robot
1d6ae20301
Merge pull request #114798 from kerthcet/cleanup/code-refactor
Code refactor for readability in `RunFilterPlugins`
2023-01-09 17:31:12 -08:00
Kubernetes Prow Robot
78f2b1de33
Merge pull request #114846 from SataQiu/fix-seccomp-20230105
Remove support for seccomp annotations when determining whether a container update should trigger a policy evaluation
2023-01-09 16:19:12 -08:00
Kubernetes Prow Robot
d8b553cce8
Merge pull request #114769 from pohly/e2e-owners-pohly
test/OWNERS: add pohly as approver
2023-01-09 15:11:27 -08:00
Kubernetes Prow Robot
1e3946ce9d
Merge pull request #114923 from mimowo/do-not-leak-pod-name-in-event
Adjust preemption event message to do not include preemptor pod metadata
2023-01-09 13:51:28 -08:00
Hemant Kumar
58e7b97b49 Disable multiple pv mount tests for vsphere intree driver 2023-01-09 16:20:17 -05:00
Kubernetes Prow Robot
b3138ba1b3
Merge pull request #114907 from haoruan/doc-fix-typo
fix a typo in pkg/proxy/ipvs/proxier.go
2023-01-09 12:47:39 -08:00
Kubernetes Prow Robot
e7549eae87
Merge pull request #114905 from kannon92/sync-job-test-fix
Fix SyncPastDeadlineJobFinished for enabling finalizer path
2023-01-09 12:47:28 -08:00
Patrick Ohly
cb1edc00ef Revert "e2e storage: define local PersistentVolume tests in deterministic order"
This reverts commit 5636418f10. Ginkgo is
now handling the random spec ordering.
2023-01-09 20:55:26 +01:00
Patrick Ohly
baf832d80d dependencies: update ginkgo to v2.7.0
The new ginkgo release adds sorting of specs. This was triggered by
the observation that parallel test execution of Kubernetes E2E tests
sometimes ran the same spec twice and (presumably) other specs not at all
because spec order was random due to iteration over a map.

Sorting should avoid that problem.
2023-01-09 20:54:58 +01:00
Kubernetes Prow Robot
eb7fd7f51c
Merge pull request #114914 from mimowo/do-not-leak-pod-name
Adjust DisruptionTarget condition message to do not include preemptor pod metadata
2023-01-09 11:15:40 -08:00
Kubernetes Prow Robot
8d6bbfbad2
Merge pull request #112934 from wzshiming/fix/close-body
Close body when Report non-OK status code
2023-01-09 11:15:28 -08:00
Antoine Pelisse
ad65b25cc3 fieldmanager: Remove obsolete comment 2023-01-09 10:10:17 -08:00
Antoine Pelisse
adfc65ec23 Make internal managers private
This significantly reduces the surface area of the fieldmanager package
by hiding all the private "managers" objects, as well as the interface
that was made specifically for these. There is no reason to configure
these.
2023-01-09 10:10:17 -08:00
Kubernetes Prow Robot
bea405c581
Merge pull request #114876 from alculquicondor/fix-deadline-test
Ensure job is up to date in informer cache in test
2023-01-09 10:07:28 -08:00
Michal Wozniak
f79a34d267 Do not leak cross namespace pod metadata in preemption events 2023-01-09 18:30:19 +01:00
kannon92
0362c67859 Fix SyncPastDeadlineJobFinished for enabling finalizer path 2023-01-09 17:12:52 +00:00
Daniel Lenar
d53af22787 Use label selector for filtering out resources when pruning.
Matches same behavior as for kubectl apply

Signed-off-by: Daniel Lenar <dlenar@vailsys.com>
2023-01-09 10:42:40 -06:00
Patrick Ohly
0f9a8d38be e2e framework: configure poll interval+duration for gomega
Primarily this protects against accidentally polling with the default interval
of 10ms. Setting these defaults may also make some tests simpler because they
don't need to override the defaults.
2023-01-09 17:29:35 +01:00
Patrick Ohly
16a6f70e11 e2e: add PollInterval()
Various different tests all have their own poll intervals. As a start towards
consolidating that, the interval from test/e2e/framework/pod (as one of the
most common cases for polling) is moved into the framework.

Changing other helper packages and tests needs to follow.
2023-01-09 17:29:35 +01:00
Patrick Ohly
db394db398 e2e: move several timeouts from TestContext into TimeoutContext
This consolidates timeout handling. In the future, configuration of all
timeouts via a configuration file might get added. For now, the same three
legacy command line flags for the timeouts that get moved continue to be
supported.
2023-01-09 17:29:35 +01:00
Aldo Culquicondor
4c1b95ddfa
Ensure job is up to date in informer cache in test
The fake client doesn't guarantee that the informer cache is updated.
If it's not up-to-date, the controller always tries to set the
StartTime, leading to a broken test.

Change-Id: I71f26d46ea44beff88f0d03517985348654aec95
2023-01-09 10:53:19 -05:00
Kubernetes Prow Robot
a8fc2c6543
Merge pull request #114891 from sanposhiho/fix-logic
cleanup(nodeaffinity): remove impossible scenario from test cases
2023-01-09 06:53:39 -08:00
Kubernetes Prow Robot
8cb2339730
Merge pull request #114548 from haircommander/cri-tools-1.26
update cri-tools to 1.26.0
2023-01-09 06:53:28 -08:00
Jan Safranek
03beb014f9 Update error context messages 2023-01-09 14:00:57 +01:00
Kubernetes Prow Robot
03b78f3a15
Merge pull request #114912 from pacoxu/archived-repos
add archived dependencies into unwanted-dependencies.json
2023-01-09 04:19:31 -08:00
Michal Wozniak
bdf58ce2eb Adjust DisruptionTarget condition message to do not include preemptor metadata 2023-01-09 12:22:19 +01:00
Patrick Ohly
b721272a1e test/OWNERS: add pohly as approver
As technical lead in SIG Testing it would be useful to have the right to
approve test changes...
2023-01-09 09:54:10 +01:00
Patrick Ohly
c6da602168 OWNERS: remove sig-testing-approvers
It's not used enough to add any real value. Instead, it obscures the real
ownership when someone looks at an OWNERS file where it is used.
2023-01-09 09:54:10 +01:00
Paco Xu
26ddc948e1 add archived dependencies into unwanted-dependencies.json 2023-01-09 16:14:39 +08:00
SataQiu
61916050d3 update staging README.md 2023-01-09 12:26:16 +08:00
Hao Ruan
7f3de6e53a fix a typo in pkg/proxy/ipvs/proxier.go 2023-01-09 09:29:22 +08:00
Kubernetes Prow Robot
cf7a3c5bbb
Merge pull request #114906 from ii/promote-subjectaccessreview-test
Promote e2e test for SubjectAccessReview & createAuthorizationV1NamespacedLocalSubjectAccessReview +2 Endpoints
2023-01-08 17:09:27 -08:00
Stephen Heywood
befb7d4a6a Promote SubjectAccessReview e2e test to Conformance 2023-01-09 11:24:05 +13:00