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
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
Wojciech Tyczyński
41ee6a3e44
Remove selflink integration tests
2022-02-14 11:11:56 +01:00
ahrtr
fe95aa614c
io/ioutil has already been deprecated in golang 1.16, so replace all ioutil with io and os
2022-02-03 05:32:12 +08:00
Kubernetes Prow Robot
83ca745412
Merge pull request #107797 from tkashem/revert-107456
...
Revert "Merge pull request #107456 from tkashem/apf-ssa"
2022-01-27 23:14:30 -08:00
Abu Kashem
8fb3333863
Revert "Merge pull request #107456 from tkashem/apf-ssa"
...
This reverts commit 6faa4f0010
, reversing
changes made to 33a2c50bce
.
2022-01-26 13:54:26 -05:00
Jeffrey Ying
ecb9b620fe
Revert "Populate OpenAPI in all integration tests"
2022-01-26 13:30:03 -05:00
Jefftree
eb8f6fe0f9
Populate OpenAPI in all integration tests
2022-01-25 14:16:31 -08:00
Kubernetes Prow Robot
6faa4f0010
Merge pull request #107456 from tkashem/apf-ssa
...
apf: change controller to use SSA for patches
2022-01-20 13:44:29 -08:00
Abu Kashem
d9f4d6507b
apf: change controller to use SSA for patches
2022-01-19 14:56:53 -05:00
Kubernetes Prow Robot
657146e775
Merge pull request #107572 from MikeSpreitzer/add-flowschema-condition-test
...
Test isolation among FlowSchemaStatus Conditions
2022-01-19 06:34:06 -08:00
Antonio Ojea
ea130181a3
test integration: API allow IPs with leading zeros
2022-01-18 09:45:54 +01:00
Mike Spreitzer
23af47395b
Test isolation among FlowSchemaStatus Conditions
2022-01-17 15:43:37 -05:00
Kubernetes Prow Robot
5bfc4286ee
Merge pull request #106943 from wojtek-t/graduate_watch_resumption_to_ga
...
Graduate EfficientWatchResumption feature to GA
2022-01-12 06:06:36 -08:00
Jordan Liggitt
0b90b6ec5e
Add field paths to expected unknown/duplicate errors
2021-12-13 09:38:13 -05:00
Wojciech Tyczyński
b7257a4d6a
Graduate EfficientWatchResumption feature to GA
2021-12-10 10:20:51 +01:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:26 -05:00
HaoJie Liu
1dc1a37294
fix typo in /test/integration
2021-11-25 18:59:31 +08:00
Jordan Liggitt
d4d34085e4
Clean up field validation test logs
2021-11-21 21:29:06 -05:00
Jordan Liggitt
8fa1c612fd
Speed up field validation tests
2021-11-21 21:29:06 -05:00
Kevin Delgado
e50e2bbc88
Server Side Field Validation
...
Implements server side field validation behind the
`ServerSideFieldValidation` feature gate. With the
feature enabled, any create/update/patch request
with the `fieldValidation` query param set to
"Strict" will error if the object in the request
body have unknown fields. A value of "Warn"
(also the default when the feautre is enabled)
will succeed the request with a warning.
When the feature is disabled (or the query param
has a value of "Ignore"), the request will succeed
as it previously had with no indications of any
unknown or duplicate fields.
2021-11-19 21:24:36 +00:00
Kermit Alexander
3180012c1b
Add integration tests for OpenAPI v3.
2021-11-16 17:38:54 -08:00
Kubernetes Prow Robot
e14bdbaa1c
Merge pull request #105057 from jiahuif-forks/feature/enum-types-feature-enablement
...
Add Support for OpenAPIEnum in OpenAPI v2
2021-11-16 16:35:55 -08:00
Joe Betz
ba6db69c39
Add integration tests for CRD validation rules feature
2021-11-15 21:49:32 -05:00
Jiahui Feng
a8175212aa
integration test for OpenAPI feature enablement.
2021-11-10 11:06:03 -08:00
Kubernetes Prow Robot
9351ea291a
Merge pull request #105873 from MikeSpreitzer/more-seat-metrics
...
More seat metrics for APF
2021-11-10 02:23:26 -08:00
wangyysde
d2abddd909
rename v2beta2 to v2
...
Signed-off-by: wangyysde <net_use@bzhy.com>
Generation swagger.json.
Use v2 path for hpa_cpu_field.
run update-codegen.sh
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-11-09 10:34:54 +08:00
Mike Spreitzer
154bf6aab3
Add metrics about watch counts seen by APF
2021-11-01 16:02:49 -04:00
Antonio Ojea
3ca2bb4443
integration test clientset share connection for custom transports
2021-10-20 06:39:39 +02:00
Madhav Jivrajani
fed2ec99c6
migrate k8s.io/apimachinery/util/clock -> k8s.io/utils/clock
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2021-09-21 15:54:44 +05:30
Abu Kashem
d99497ef6d
apf: update e2e test to use v1beta2
2021-09-09 08:28:58 -04:00
Abu Kashem
e2b8701545
apf: ebable v1beta2
2021-09-09 08:28:53 -04:00
Kubernetes Prow Robot
98bd200217
Merge pull request #104102 from tnqn/dynamic-file
...
Improve dynamic cert file change detection
2021-08-05 16:36:26 -07:00
Quan Tian
3cfe3d048f
Improve dynamic cert file change detection
...
DynamicFileCAContent and DynamicCertKeyPairContent used periodical job
to check whether the file content has changed, leading to 1 minute of
delay in worst case. This patch improves it by leveraging fsnotify
watcher. The content change will be reflected immediately.
2021-08-06 01:45:24 +08:00
KeZhang
952aa1b2d2
add integration test for apiserver hsts
2021-08-05 10:41:52 +08:00
David Ashpole
e5a1f86e0a
add apiserver tracing integration test, and fix endpoint validation
2021-07-15 20:56:57 -07:00
mgutierrez98
1cfbb0aa25
remove webhook.go to revert changes to conformance test
2021-07-01 20:24:46 +00:00
Mengjiao Liu
e977740ae6
Rename master to apiserver in test/integration
2021-06-18 17:40:46 +08:00
Jordan Liggitt
2979c3325e
Switch to go.etcd.io/etcd/client/v3
2021-06-15 09:53:06 -04:00
Mengjiao Liu
257b494478
test/integration: Rename masterConfig to instanceConfig
2021-06-08 17:21:47 +08:00
Mengjiao Liu
ac5535c949
test/integration: Rename MasterConfigOptions to ControlPlaneConfigOptions
2021-06-08 16:58:46 +08:00
Mengjiao Liu
6871b2b3c7
Rename masterConfig to controlPlaneConfig
2021-06-04 20:55:08 +08:00
Mengjiao Liu
387154f1a9
Part3: master to controlplane in test/integration
...
Rename RunAMaster to RunAControlPlane
2021-06-03 11:06:19 +08:00
Kubernetes Prow Robot
fc9aacecca
Merge pull request #102272 from mengjiao-liu/term-NewIntegrationTestMasterConfig
...
Part2: master to controlplane in test/integration(1.22)
2021-05-27 19:46:23 -07:00
SataQiu
9cfbf06225
cleanup PodPreset testdata
2021-05-26 19:57:29 +08:00
Mengjiao Liu
c9ec486287
Part of master to controlplane in test/integration
...
Rename NewIntegrationTestMasterConfig to NewIntegrationTestControlPlaneConfig
2021-05-25 13:26:28 +08:00
Monis Khan
440ea3ef49
client-go transport: assert that final CA data is valid
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-05-03 21:08:01 -04:00
Kubernetes Prow Robot
66d27ff1a4
Merge pull request #101380 from kwiesmueller/flake-apply-mutating-webhook
...
[flake] fix TestMutatingWebhookResetsInvalidManagedFields flakes
2021-04-22 17:44:31 -07:00
Kevin Wiesmueller
96a8df455c
fix TestMutatingWebhookResetsInvalidManagedFields flakes
2021-04-23 00:09:31 +02:00