Commit Graph

449 Commits

Author SHA1 Message Date
Wojciech Tyczyński
6b59525746 Clean shutdown of flowcontrol integration tests 2022-06-15 16:53:42 +02:00
Wojciech Tyczyński
57242e3cbb Clean shutdown of openapi integration tests 2022-06-15 16:40:54 +02:00
Kubernetes Prow Robot
8e541911b8
Merge pull request #110574 from SataQiu/test-speed-20220614
Using t.Run() in integration test TestApplyAlsoCreates
2022-06-14 12:07:45 -07:00
Kubernetes Prow Robot
5503bb0570
Merge pull request #110529 from wojtek-t/fix_leaking_goroutines_7
Fix leaking goroutines in multiple integration tests
2022-06-14 09:09:54 -07:00
SataQiu
20f8a06e50 using t.Run() in integration test TestApplyAlsoCreates 2022-06-15 00:01:10 +08:00
Wojciech Tyczyński
3930362ad4 Clean(er) shutdown of apiserver integration tests 2022-06-14 13:55:31 +02:00
Kubernetes Prow Robot
c0642b749e
Merge pull request #110179 from Jefftree/fix_openapi_v2
Prune defaults for CRDs for OpenAPI V2
2022-06-13 13:28:12 -07:00
Mike Spreitzer
1f1cfba2a3 Remove the PairVec types 2022-06-12 23:37:15 -04:00
Jefftree
e2cbf9759b Add test to check for _v2 2022-06-08 21:33:07 +00:00
Wojciech Tyczyński
3b61f4ac20 Clean shutdown of apply integration tests 2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
6f706775bc Clean shutdown of test apiserver 2022-05-26 10:42:48 +02:00
Mike Spreitzer
7d64a93a14 Give apf metrics abstractions more familiar names
The logic is similar to Prometheus gauges and vectors,
adopt that terminology.
2022-05-23 16:09:43 -04:00
Kubernetes Prow Robot
22a21f974f
Merge pull request #110063 from wojtek-t/cleanup_testing_namespaces_in_integration
Simplify Create/Delete-TestingNamespace functions
2022-05-16 01:50:18 -07:00
Wojciech Tyczyński
deef9e40de Simplify Create/Delete-TestingNamespace functions 2022-05-15 23:06:26 +02:00
Kubernetes Prow Robot
bbdcce6a9e
Merge pull request #109880 from Jefftree/patch-4
Remove warning log for crd merging
2022-05-13 15:31:54 -07:00
Jefftree
fad5353ef8 Integration test for openapi scale & status 2022-05-13 11:45:31 -07:00
Wojciech Tyczyński
492e7111a0 Minor cleanup of apply tests 2022-05-13 11:37:22 +02:00
Wojciech Tyczyński
89549142c0 Stop leaking apiserver in tracing test 2022-05-13 09:47:24 +02:00
Kubernetes Prow Robot
e8ef77514b
Merge pull request #109443 from kevindelgado/dynamic-apply
Add Apply and ApplyStatus methods to dynamic ResourceInterface
2022-05-04 01:27:53 -07:00
Wojciech Tyczyński
73da6d15f9 Fix TestPriorityLevelIsolation concurrency issue 2022-04-19 15:59:14 +02:00
Kevin Delgado
581ac7f446 Add Apply and ApplyStatus methods to dynamic ResourceInterface 2022-04-12 21:55:40 +00:00
Jefftree
67d3dbfaae Separate OpenAPI V2 and V3 Config 2022-03-29 17:49:56 -07:00
Ricardo Katz
42a1201082
Implementation on Network Policy Status (#107963)
* Implement status subresource in NetworkPolicy

* add NetworkPolicyStatus generated files

* Fix comments in netpol status review
2022-03-29 01:52:48 -07:00
Joe Betz
ff3d67d76a Enfoce per-CRD estimated cost limit 2022-03-28 17:33:16 -04:00
Kermit Alexander
7e66bd2057 Add per-CRD cost evaluation. 2022-03-28 16:08:13 +00:00
Antonio Ojea
d2ca66651d refactor apiserver tests 2022-03-26 10:20:27 +01:00
Kubernetes Prow Robot
6c73b674d7
Merge pull request #109030 from liggitt/revert-apf-ssa
Revert "Revert "Merge pull request #107797 from tkashem/revert-107456""
2022-03-25 19:17:58 -07:00
Jordan Liggitt
363a8beaab Revert "Revert "Merge pull request 107797 from tkashem/revert-107456""
This reverts commit b0b460921b.
2022-03-25 14:36:10 -04:00
cici37
460121fa1e Return a placeholder error for blocking failure before CEL validation. 2022-03-25 01:19:31 -07:00
Joe Betz
f71c4d4cf4 Add validation rule tests for transition rules 2022-03-24 21:19:50 -04: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
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
9fbe66a486
Merge pull request #103516 from ykakarap/kubectl-subresources-apiserver
kubectl: apiserver changes to add --subresource support
2022-03-23 13:21:32 -07:00
Kubernetes Prow Robot
24a71990e0
Merge pull request #108445 from pohly/storage-capacity-ga
storage capacity GA
2022-03-23 08:06:21 -07:00
Yuvaraj Kakaraparthi
801c39b478 kubectl: API changes to support --subresource in kubectl
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
Co-authored-by: Nikhita Raghunath <nikitaraghunath@gmail.com>
Co-authored-by: Yuvaraj Kakaraparthi <kakaraparthy@vmware.com>
2022-03-23 11:19:58 +05:30
Kubernetes Prow Robot
9a8defda15
Merge pull request #108383 from tkashem/revert
Revert the revert of #107456 - "apf: change controller to use SSA for patches"
2022-03-21 22:09:43 -07:00
Kubernetes Prow Robot
ad751e8520
Merge pull request #108710 from kevindelgado/ssfv-testing-improvement
Exact Matching for Field Validation Integration Tests
2022-03-17 21:21:16 -07:00
Kevin Delgado
7983932800 Exact Matching for Field Validation Tests 2022-03-17 22:08:49 +00:00
Jefftree
8a1d5947ad googleapis/gnostic -> google/gnostic 2022-03-15 20:44:03 -07:00
Kubernetes Prow Robot
c6c4915dd7
Merge pull request #108495 from stevekuznetsov/skuznets/better-rv-math
test/integration: improve TestTransform
2022-03-14 13:03:11 -07:00
Patrick Ohly
3a7deaa141 storage capacity: GA, always enabled, remove feature check
The code and tests for scenarios where the feature is disabled are no longer
needed because the feature is graduating to GA.
2022-03-14 20:05:45 +01:00
Steve Kuznetsov
ff8fbc2d37
test/integration: use a context with a deadline for streaming
Without such a context, this test would hang without data for 10
minutes, then panic.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-03-10 13:56:55 -08:00
Steve Kuznetsov
a843239ec3
test/integration: use a known previous resourceVersion
ResourceVersion values are opaque and math should not be done on them.
The intent of this test was to watch from a resourceVersion before the
moment where the objects were created, and we can find such a version by
listing from the API server before the tests begin.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-03-10 13:56:36 -08:00
Kubernetes Prow Robot
b90bddfd9f
Merge pull request #108204 from kevindelgado/field-validation-crd-unit-tests
Field validation CRD benchmarks and decoder unit tests
2022-03-09 20:01:35 -08:00
Abirdcfly
2005110090 fix some typo
Change-Id: I211f572555e964581214a5d726ac552676c9833a
2022-03-05 23:25:52 +08:00
Abu Kashem
b0b460921b
Revert "Merge pull request #107797 from tkashem/revert-107456"
This reverts commit 83ca745412, reversing
changes made to 1c216c6ec8.
2022-02-27 13:40:28 -05:00
David Eads
1afcc31b1b add integration test to prevent new beta APIs from being enabled by default 2022-02-23 13:51:43 -05:00
Wojciech Tyczyński
f3d56369f7 Unify merge GetToList and List storage methods to single GetList 2022-02-21 12:52:05 +01:00
Kevin Delgado
a72f24d33c start CRD integration benchmarks 2022-02-18 01:04:51 +00:00
Kevin Delgado
df2768123d
FieldValidation tests for endpoints apiserver and benchmarks for integration tests (#107848)
* wip, working post-strict-yaml

* wip, merge-patch and json-patch tests added

* added SMP tests

* cleanup

* add benchmarks

* more detailed test failure message

* start adding field validation integration benchmarks

* use valid input for benchmarking

* fix remaining integration benchmarks

* benchmarking feedback

* fix endpoints benchmarking

* remove unused vars
2022-02-16 21:19:49 -08:00