Commit Graph

15231 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
d5263feb03 Merge pull request #108136 from ahg-g/ahg-affinity
Graduate PodAffinityNamespaceSelector to GA
2022-02-19 08:26:10 -08:00
Kubernetes Prow Robot
ffd6482eed Merge pull request #106630 from howardjohn/protogen/full-package-name
go-to-protobuf: use full path for go_package
2022-02-18 10:20:23 -08:00
Abdullah Gharaibeh
8a1c70b48c Graduate PodAffinityNamespaceSelector to GA 2022-02-18 12:07:29 -05:00
Kubernetes Prow Robot
dacbe4fe2c Merge pull request #108190 from stevekuznetsov/skuznets/storage-clearer-rv
storage: etcd: TestList: improve RV choices
2022-02-18 08:12:23 -08:00
Steve Kuznetsov
d2b42b6369 storage: etcd: TestList: improve RV choices
In this test, the current implementation uses a nebulous "RV 1" for some
queries. The intent of this absolute choice is to probe etcd at a
version before any writes ocurred for the test. The particular test
fixture for etcd that is used starts at revision 1, so 1 is used.

This choice is hard to understand the meaning of for readers, though,
and is not valid for any other etcd fixture used for the tests. In order
to improve readability of the test as well as to make it more resilient
to the underlying store, this change updates the test to read the
revision of the underlying storage before making any writes and using
that revision when querying the storage in the tests.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-18 07:12:06 -08:00
Kubernetes Prow Robot
27ac2c4446 Merge pull request #108200 from stevekuznetsov/skuznets/improve-watch-test
storage: etcd: TestWatchError: improve readability
2022-02-18 01:40:22 -08:00
Kubernetes Prow Robot
b5b0cc8bb8 Merge pull request #108172 from stevekuznetsov/skuznets/tests-pass-ctx
storage: etcd: pass contexts correctly in TestConsistentList
2022-02-17 19:36:35 -08:00
Kubernetes Prow Robot
8a6439d2b1 Merge pull request #108129 from ahg-g/ahg-suspend
Graduate SuspendJob to GA
2022-02-17 19:36:23 -08:00
Kubernetes Prow Robot
9750666edb Merge pull request #107697 from kevindelgado/nested-decoding
Nested decoders handle strict decoding errors
2022-02-17 17:20:33 -08:00
Steve Kuznetsov
50eed81923 storage: etcd: TestWatchError: improve readability
This test, as written, is *extremely* cryptic and hard to parse. Add a
comment and stop intentionally ignoring an error that only needs to be
ignored if we're being cryptic.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-17 15:46:40 -08:00
Kevin Delgado
6ab711c3ca Nested decoders handle strict decoding errors
* Adds docs to the NestedObjectDecoder about handling strict decoding
errors.
* Updates all in-tree NestedObjectDecoder implementations and callers to
check for strict decoding errors before short-circuiting on error.
2022-02-17 22:05:30 +00:00
Steve Kuznetsov
7272aca69d storage: etcd: pass contexts correctly in TestConsistentList
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-17 10:04:17 -08:00
Kubernetes Prow Robot
3e60727f75 Merge pull request #108174 from stevekuznetsov/skuznets/transformer-context
storage: transformers: pass a context.Context
2022-02-17 09:45:37 -08:00
Steve Kuznetsov
27312feb99 storage: transformers: pass a context.Context
When an envelope transformer calls out to KMS (for instance), it will be
very helpful to pass a `context.Context` to allow for cancellation. This
patch does that, while passing the previously-expected additional data
via a context value.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-17 08:31:31 -08:00
Kubernetes Prow Robot
6de9dddf94 Merge pull request #106539 from dgrisonnet/rest-client-latency
Replace url label in rest client latency metrics by host and path
2022-02-17 06:09:36 -08:00
Kubernetes Prow Robot
e777f72163 Merge pull request #108165 from wojtek-t/stop_printing_selflink_from_kubectl
Stop setting selfLink in kubectl
2022-02-17 01:17:35 -08: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
Kubernetes Prow Robot
912c9c46f8 Merge pull request #107705 from ardaguclu/filter-strategic-patch-nonexist
Discard null values in complex objects in strategic patch
2022-02-16 21:19:37 -08:00
Kubernetes Prow Robot
b6549ecf46 Merge pull request #108173 from stevekuznetsov/skuznets/use-sub-tests
storage: etcd: use sub-tests
2022-02-16 19:35:43 -08:00
Steve Kuznetsov
4e166ff74d storage: etcd: shorten sub-test names
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-16 16:10:20 -08:00
Kubernetes Prow Robot
0874cfddda Merge pull request #108147 from tallclair/audit
Don't decorate admission for audit when audit is disabled
2022-02-16 15:26:19 -08:00
Steve Kuznetsov
7729691f5c storage: etcd: TestConditionalDelete: use sub-tests
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-16 13:46:20 -08:00
Steve Kuznetsov
dbb00694f6 storage: etcd: TestUnconditionalDelete: use sub-tests
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-16 13:46:17 -08:00
Steve Kuznetsov
b6a6625217 storage: etcd: TestGuaranteedUpdate: use sub-tests
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-16 13:46:17 -08:00
Steve Kuznetsov
f1ded3b0c3 storage: etcd: TestGetToList: use sub-tests
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-16 13:46:17 -08:00
Steve Kuznetsov
921e7525c0 storage: etcd: remove a duplicate test case
This test case was a duplicate of the previous one.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-16 13:13:17 -08:00
Kubernetes Prow Robot
aa0e6320d5 Merge pull request #108163 from wojtek-t/update_selflink_doc
Update selflink doc
2022-02-16 12:47:08 -08:00
Kubernetes Prow Robot
1e15566628 Merge pull request #108162 from jsafrane/mount-options-comma
Parse mount options with double quotes and commas correctly
2022-02-16 12:46:56 -08:00
Wojciech Tyczyński
9015f27e6d Stop setting selfLink in kubectl 2022-02-16 20:44:15 +01:00
Kubernetes Prow Robot
b68063fce7 Merge pull request #108149 from nilo19/bug/cache
fix: do not return early in the node informer when there is no change…
2022-02-16 10:00:49 -08:00
Arda Güçlü
0ee00ba104 Simplify casting in discardNullValuesFromPatch 2022-02-16 19:43:35 +03:00
wojtekt
bdd53fe9f9 Autogenerated 2022-02-16 17:34:34 +01:00
wojtekt
f20a603719 Update SelfLink field documentation 2022-02-16 17:13:08 +01:00
Jan Safranek
1bc658a2d8 Parse mount options with double quotes and commas correctly
A mount option can contain commas in double quoted string. Such comma is
part of the mount option and it is not option separator.

For example, this is a single mount option:
  context="system_u:object_r:container_file_t:s0:c460,c902"
2022-02-16 14:22:10 +01:00
Kubernetes Prow Robot
400b1dea17 Merge pull request #107934 from jlsong01/add_lowercase_secret_key_warning
add warning when kubectl set env from secret leads to uppercase
2022-02-15 23:14:37 -08:00
Qi Ni
82852c0a7c fix: do not return early in the node informer when there is no change of the topology label. 2022-02-16 12:17:48 +08:00
Tim Allclair
1b529d4f0b Don't decorate admission for audit when audit is disabled 2022-02-15 17:20:32 -08:00
Kubernetes Prow Robot
a37b6fc8b4 Merge pull request #108138 from liggitt/v1beta1-selector
Revert v1beta1 PodDisruptionBudget selector patchStrategy to pre-1.21 behavior
2022-02-15 16:25:18 -08:00
Kubernetes Prow Robot
4033355d29 Merge pull request #107909 from sebastiansterk/master
🤓 simple grammar fix
2022-02-15 12:15:18 -08:00
Jordan Liggitt
6619442def Revert v1beta1 PodDisruptionBudget select patchStrategy 2022-02-15 13:54:52 -05:00
Abdullah Gharaibeh
1d8d74a841 generated files 2022-02-15 11:00:41 -05:00
Abdullah Gharaibeh
b2d2ec9e76 Graduate SuspendJob to GA 2022-02-15 10:46:13 -05:00
Kubernetes Prow Robot
e42e2e877f Merge pull request #107527 from wojtek-t/remove_selflink_ga
Graduate RemoveSelfLink to Stable
2022-02-14 19:46:02 -08:00
Kubernetes Prow Robot
64e83a7e43 Merge pull request #107945 from saschagrunert/cri-verbose
Add support for CRI `verbose` fields
2022-02-14 17:58:12 -08:00
Eddie Zaneski
040d575e9f Update sig-cli OWNERS
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2022-02-14 10:55:35 -07:00
wojtekt
9732bf0d33 Autogenerated 2022-02-14 18:35:55 +01:00
Wojciech Tyczyński
c5a98327f5 Update SelfLink OpenAPI documentation 2022-02-14 18:35:55 +01:00
Wojciech Tyczyński
e46415bfbc Bump RemoveSelfLink feature gate to GA 2022-02-14 18:35:54 +01:00
Wojciech Tyczyński
b62774f2f7 Couple remaining SelfLink references cleanup 2022-02-14 18:35:54 +01:00
Wojciech Tyczyński
9b2908ea3b Cleanup apiserver storage selflink references where possible 2022-02-14 18:35:54 +01:00