Commit Graph

112497 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
3ceb213fc1
Merge pull request #113508 from p-slavcheva/fix-diff-osexit
Replace os.Exit in diff
2022-12-13 15:59:34 -08:00
Kubernetes Prow Robot
f524d765f4
Merge pull request #113151 from ncdc/refactor-crd-conversion
Clean up CRD conversion code structure
2022-12-13 14:53:48 -08:00
Kubernetes Prow Robot
c2b5457dfa
Merge pull request #109877 from yibozhuang/local-pv-prefilter-result
scheduler volumebinding: leverage PreFilterResult for bound local PVs
2022-12-13 14:53:34 -08:00
Kubernetes Prow Robot
233f9c210a
Merge pull request #114092 from anggao/update_method_name
e2e: Update GetExternalIP and GetInternalIP method name to make them more explicit.
2022-12-13 12:39:46 -08:00
Kubernetes Prow Robot
cffc7a1391
Merge pull request #110473 from lzhecheng/disruptive-skip-ssh-not-working
Skip tests if SSH not working
2022-12-13 12:39:35 -08:00
Andy Goldstein
beb7d6cff1 CRConverter: change to UnstructuredList
Change the CRConverter interface to use *unstructured.UnstructuredList
for input/output to simplify what converter implementers must implement.

Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2022-12-13 14:52:39 -05:00
Andy Goldstein
0976267f0f
Make empty unstructured check common
Move the empty unstructured object check from the webhook converter to
the delegating converter, so other converters don't have to repeat the
same logic.

Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2022-12-13 14:46:28 -05:00
Andy Goldstein
0bdcb93b06 Create new conversion Factory interface
Create a new conversion Factory interface for CRDs, and split out
NewDelegatingConverter as a standalone package-level function, instead
of being part of CRConverterFactory.

Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2022-12-13 14:38:21 -05:00
Andy Goldstein
02f8c48f75 Rename crConverterInterface to CRConverter
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2022-12-13 14:38:05 -05:00
Kubernetes Prow Robot
bb6edfb96b
Merge pull request #114454 from pohly/e2e-framework-output-test-flake
e2e framework: fix unit test flake
2022-12-13 10:28:15 -08:00
Kubernetes Prow Robot
2df02b3ef5
Merge pull request #114425 from pohly/e2e-ginkgo-timeouts-defer-cleanup
e2e ginkgo timeouts: simplify code
2022-12-13 10:28:09 -08:00
Kubernetes Prow Robot
c9fb0c114d
Merge pull request #114407 from princepereira/ppereira-internal-traffic-policy
Windows Kube-Proxy implementation for internal traffic policy
2022-12-13 10:27:57 -08:00
Kubernetes Prow Robot
8280fd9671
Merge pull request #114171 from aojea/loadbalancer_mutability
e2e loadbalancer test connectivity within cluster first
2022-12-13 10:27:45 -08:00
Kubernetes Prow Robot
e6bc669227
Merge pull request #113795 from DangerOnTheRanger/validatingadmissionpolicy-crd-integration-tests
Add CRD integration tests for ValidatingAdmissionPolicy
2022-12-13 10:27:34 -08:00
Kubernetes Prow Robot
eaa7e1c775
Merge pull request #114435 from seans3/openapi-getter-refactor
Unexport OpenAPIGetter factory method
2022-12-13 08:39:45 -08:00
Kubernetes Prow Robot
19a0aaaaa0
Merge pull request #114261 from alculquicondor/reduce-job-test-load
Reduce load of Job integration test
2022-12-13 08:39:33 -08:00
Zhecheng Li
21c41e79e5 Skip tests if SSH not working
Functions involves TestVolumeUnmountsFromDeletedPodWithForceOption
need to check if SSH works.

Signed-off-by: Zhecheng Li <zhechengli@microsoft.com>
2022-12-13 14:38:21 +00:00
Patrick Ohly
0df49542b1 e2e framework: fix unit test flake
The Gingo v2 time suffix is hh:mm:ss without the .xyz sub-second details if the
time stamp happens to land exactly on a second.

This change fixes test flakes like the following:

    -STEP: Building a namespace api object, basename test-namespace
    +STEP: Building a namespace api object, basename test-namespace 12/13/22 11:43:53

    --- FAIL: TestCleanup (36.79s)
2022-12-13 15:29:18 +01:00
Kubernetes Prow Robot
6b9035513b
Merge pull request #113981 from TommyStarK/unit-tests/cmd-kube-controller-manager-app-options
cmd/kube-controller-manager/app/options: Improving test coverage
2022-12-13 06:25:34 -08:00
petya.slavcheva1
2dce194e16 Replace os.exit in diff 2022-12-13 14:27:35 +01:00
TommyStarK
454290c583 cmd/kube-controller-manager/app/options: Improving test coverage
Add a snippet of the expected error string related to the aspect being tested

Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2022-12-13 14:05:48 +01:00
Kubernetes Prow Robot
10376ad1fa
Merge pull request #113285 from pacoxu/release-note-update
update release-note for cherry-picks of #110255
2022-12-13 04:43:45 -08:00
Kubernetes Prow Robot
6ae43ffa6d
Merge pull request #110252 from swatisehgal/add-security-contact
Noderesourcetopology- api: Repo Bootstrap
2022-12-13 04:43:34 -08:00
Antonio Ojea
2b0372f873 e2e loadbalancer test connectivity within cluster first
Change-Id: Iaced995e5e0433c9095cb522aa3e1de2105c931e
2022-12-13 12:26:13 +00:00
Kubernetes Prow Robot
f77dc4e6be
Merge pull request #114443 from SataQiu/fix-kubeadm-20221213
kubeadm: add missing --cri-socket flag for upload-certs phase
2022-12-13 02:05:35 -08:00
SataQiu
c51ce945a5 kubeadm: add missing --cri-socket flag for upload-certs phase 2022-12-13 16:59:17 +08:00
Prince Pereira
9abe8d9210 Windows Kube-Proxy implementation for internal traffic policy. 2022-12-13 14:26:10 +05:30
Kubernetes Prow Robot
5b54d48357
Merge pull request #113776 from princepereira/ppereira-kubeproxy-kep1669
Windows Kube-Proxy implementation of ProxyTerminatingEndpoints feature
2022-12-13 00:35:33 -08:00
Prince Pereira
f132215ac1 Creating Ingress IP loadbalancer alone when all the endpoints are terminating. KEP1669 2022-12-13 12:46:58 +05:30
Kubernetes Prow Robot
6228b914ad
Merge pull request #114273 from TommyStarK/unit-tests/pkg-scheduler-internal
scheduler/internal: Improving cache and heap test coverage
2022-12-12 23:11:33 -08:00
Patrick Ohly
d4729008ef e2e: simplify test cleanup
ginkgo.DeferCleanup has multiple advantages:
- The cleanup operation can get registered if and only if needed.
- No need to return a cleanup function that the caller must invoke.
- Automatically determines whether a context is needed, which will
  simplify the introduction of context parameters.
- Ginkgo's timeline shows when it executes the cleanup operation.
2022-12-13 08:09:01 +01:00
Kubernetes Prow Robot
dc1e77143f
Merge pull request #114082 from kidddddddddddddddddddddd/refactor_handleSchedulingFailure
pass status to handleSchedulingFailure
2022-12-12 22:05:34 -08:00
kidddddddddddddddddddddd
6ca62eb2cb refactor 2022-12-13 11:36:12 +08:00
Sean Sullivan
1da46b2f28 Unexport OpenAPIGetter factory method 2022-12-12 19:07:59 -08:00
Kubernetes Prow Robot
73ed9e70ed
Merge pull request #114052 from ionutbalutoiu/tests/lb-rolling-update
tests: Add DaemonSet with LB rolling update test
2022-12-12 18:47:52 -08:00
Kubernetes Prow Robot
cb03415326
Merge pull request #111802 from maaoBit/fix-labelSelectorValidate-missing
Validate labelSelector in topologySpreadConstraints
2022-12-12 18:47:44 -08:00
Kubernetes Prow Robot
923ee203f3
Merge pull request #110991 from thockin/svc-typenames-starTrafficPolicyType
Svc typenames star traffic policy type
2022-12-12 18:47:33 -08:00
Kubernetes Prow Robot
741bd5c382
Merge pull request #113947 from mowangdk/chore/change_adcontroller_log_level
Lower volume attached touch log level
2022-12-12 17:41:51 -08:00
Kubernetes Prow Robot
49b57ce1e2
Merge pull request #113570 from ztzxt/batch-api-doc
Fix documentation for referenced Batch v1 and v1beta1 API fields
2022-12-12 17:41:44 -08:00
Kubernetes Prow Robot
178f4e2461
Merge pull request #113040 from ardaguclu/rollout-restart-nano
rollout restart: Change error message to more descriptive
2022-12-12 17:41:32 -08:00
Kubernetes Prow Robot
4eb5821c51
Merge pull request #113156 from guyzyl/master
Add link to `CHANGELOG.md`
2022-12-12 16:35:44 -08:00
Kubernetes Prow Robot
75ec79e30b
Merge pull request #112497 from ldsdsy/modify3
update comment of annotation_key_constants.go
2022-12-12 16:35:33 -08:00
Kubernetes Prow Robot
76c93b71b5
Merge pull request #114413 from seans3/refactor-validator
Refactor to simplify factory Validator
2022-12-12 15:19:55 -08:00
Kubernetes Prow Robot
472612ccc6
Merge pull request #114191 from apelisse/uds-pprof
Allow profiling information to be served on Unix-Domain Socket
2022-12-12 15:19:44 -08:00
Kubernetes Prow Robot
71da94a0e8
Merge pull request #114048 from TommyStarK/unit-tests/pkg-api-persistentvolume
pkg/api/persistentvolume: Improving test coverage
2022-12-12 15:19:33 -08:00
Kubernetes Prow Robot
944212fe10
Merge pull request #114164 from ttakahashi21/KEP-3294-release-note
update API Change in release note
2022-12-12 14:13:33 -08:00
Ang Gao
3540f948e9 Update method name to make it more explicit 2022-12-12 21:50:07 +00:00
Kubernetes Prow Robot
2baa25027e
Merge pull request #114410 from SataQiu/cleanup-featuregates-20221211
Remove GA feature gates: CSIInlineVolume, CSIMigration, DaemonSetUpdateSurge, EphemeralContainers, IdentifyPodOS, LocalStorageCapacityIsolation, NetworkPolicyEndPort, StatefulSetMinReadySeconds
2022-12-12 11:44:11 -08:00
Kubernetes Prow Robot
d581dee37f
Merge pull request #114378 from qingwave/cel-metrics
cleanup: add help information for apiserver cel metrics
2022-12-12 11:44:04 -08:00
Kubernetes Prow Robot
c6b75dac5b
Merge pull request #114204 from pacoxu/order-unwanted-deps
add github.com/mindprince/gonvml to unwanted dependencies
2022-12-12 11:43:56 -08:00