Commit Graph

106576 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
cf04a35e2a
Merge pull request #108211 from stevekuznetsov/skuznets/watcher-test-subtests
storage: etcd: misc Watch test cleanups
2022-02-21 07:46:26 -08:00
Kubernetes Prow Robot
bda996e6a7
Merge pull request #107105 from justaugustus/go118
golang: Update to go1.18rc1
2022-02-21 07:46:15 -08:00
Kubernetes Prow Robot
4924ef8a7c
Merge pull request #108110 from SubhasmitaSw/cloMonitorFix
Update our repository to incorporate project health best practices from clomonitor.io
2022-02-21 06:34:25 -08:00
Kubernetes Prow Robot
f50e076756
Merge pull request #107590 from ialidzhikov/golint/credentialprovider-plugin
Nit: Replace `errors.New(fmt.Sprintf(...))` with `fmt.Errorf(...)`
2022-02-21 06:34:14 -08:00
Kubernetes Prow Robot
a4575202f4
Merge pull request #106948 from wojtek-t/simplify_storage_interface_2
Simplify storage interface
2022-02-21 05:30:14 -08:00
Wojciech Tyczyński
f3d56369f7 Unify merge GetToList and List storage methods to single GetList 2022-02-21 12:52:05 +01:00
Wojciech Tyczyński
3016b3d8f8 Change storage.Interface to utilize recurisve parameter 2022-02-21 12:52:05 +01:00
Kubernetes Prow Robot
f0d5ea1e1d
Merge pull request #108219 from liggitt/api-compatibility-fuzzer
Improve API compatibility fixtures to reduce churn
2022-02-20 20:14:11 -08:00
Stephen Augustus
4b1bd548bb
generated: Run hack/lint-dependencies.sh and hack/update-vendor.sh
Also runs:
hack/pin-dependency.sh golang.org/x/mod \
  v0.6.0-dev.0.20220106191415-9b9b3d81d5e3

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-02-20 21:26:23 -05:00
Stephen Augustus
e6e7a42480
[go1.18] Bump golang.org/x/... dependencies
hack/pin-dependency.sh golang.org/x/crypto master
hack/pin-dependency.sh golang.org/x/net master
hack/pin-dependency.sh golang.org/x/oauth2 master
hack/pin-dependency.sh golang.org/x/sync master
hack/pin-dependency.sh golang.org/x/sys master
hack/pin-dependency.sh golang.org/x/term master
hack/pin-dependency.sh golang.org/x/time master
hack/pin-dependency.sh golang.org/x/tools master

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-02-20 21:22:02 -05:00
Stephen Augustus
93295000af
golang: Update to go1.18rc1
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-02-20 21:16:26 -05:00
ialidzhikov
f3fcfef5a7 Replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2022-02-20 11:23:48 +02:00
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
Jordan Liggitt
4144c9294f Regenerate HEAD compatibility fixtures 2022-02-19 10:31:53 -05:00
Jordan Liggitt
c0b7858946 Fill API compatibility data with identifying values rather than random data 2022-02-19 10:31:53 -05: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
Subhasmita Swain
c199d69f7d update the repository to incorporate project health best practices from clomonitor.io 2022-02-18 18:11:35 +00: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
Steve Kuznetsov
d17a19b39d
store: etcd: TestWatch: use cmp.Diff
Modernize the comparisons used in the watch tests to use `cmp.Diff()` for
readability.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-18 06:52:13 -08:00
Steve Kuznetsov
9f7bb4264e
store: etcd: TestWatch: use sub-tests
This was the last test to not use sub-tests, so we can also remove the
indices that the expectation functions take as parameters now.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-18 06:50:05 -08:00
Kubernetes Prow Robot
2355747e7c
Merge pull request #108209 from andyzhangx/incrase-acr-timeout
increase Azure ACR credential provider timeout
2022-02-18 05:32:23 -08:00
andyzhangx
3867b3e1f8 increase Azure ACR credential provider timeout 2022-02-18 12:29:10 +00: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
37a0b1a321
Merge pull request #108066 from marseel/dont_check_type_in_hostvolule_in_kubemark
Turn off volumehost type check in kubemark clusters
2022-02-18 00:38:24 -08:00
Kubernetes Prow Robot
2078864d08
Merge pull request #106671 from wzshiming/test/e2e-graceful-node-shutdown-based-on-pod-priority
Fix flaky test - when gracefully shutting down with Pod priority should be able to gracefully shutdown pods with various grace periods
2022-02-17 22:32:26 -08:00
Kubernetes Prow Robot
15fb945348
Merge pull request #105070 from andyzhangx/patch-3
feat: turn on CSIMigrationAzureFile by default on 1.24
2022-02-17 20: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
Shiming Zhang
102a669ca1 Fix flaky test 2022-02-18 09:39:46 +08:00
Kubernetes Prow Robot
5699e6d3ea
Merge pull request #108198 from liggitt/endpointslice-topology-strategy-fix
Make EndpointSlice strategy move node name from topology map to field instead of discarding when updating via v1
2022-02-17 17:20:49 -08:00
Kubernetes Prow Robot
344bf270ee
Merge pull request #108034 from tstapler/critools_arm_configuresh
Add crit-tools arm64 sha512 hash to configure.sh
2022-02-17 17:20:41 -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
Kubernetes Prow Robot
23ccbafdf1
Merge pull request #104334 from ipochi/imran/re-revert-lock-contention-tests
Revert #104308 to bring back LockContention tests
2022-02-17 17:20:25 -08:00
Kubernetes Prow Robot
e14ace9287
Merge pull request #107806 from mauriciopoppe/csi-proxy-additional-flags-kube-up
Env var for additional flags sent to the csi-proxy binary
2022-02-17 16:15:00 -08:00
Kubernetes Prow Robot
2134e971a6
Merge pull request #107684 from aojea/nodePortsOnLocalhost
kube-proxy: only set route_localnet if required
2022-02-17 16:14:48 -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
Kubernetes Prow Robot
3d4f59416e
Merge pull request #108192 from SergeyKanzhelev/no-docker-install-needed
remove docker installation from startup scripts
2022-02-17 15:01:33 -08:00
Kubernetes Prow Robot
8b249ca5c4
Merge pull request #108179 from serathius/patch-2
Add serathius to etcd image owners
2022-02-17 15:01:26 -08:00
Kubernetes Prow Robot
ab97735dbf
Merge pull request #108169 from deads2k/fix-rest-handlers
convert rest storage to per-resource part 1 of...?
2022-02-17 15:01:14 -08:00
Kubernetes Prow Robot
0cfb5ccd6a
Merge pull request #107725 from neolit123/1.24-kubeadm-improve-strict-validation
kubeadm: improve the strict unmarshaling of component config
2022-02-17 15:01:02 -08:00
Tyler Stapler
01b8d59430 Rework npd default hash selection to match crictl
Change-Id: I63e0837e62c4c8fa5d8371dcb1390d2d3e672e0c
2022-02-17 22:43:16 +00:00
Rob Scott
ba64f9b045 Updating EndpointSlice strategy to retain node name in topology until
field is set

This fixes a bug where a partial EndpointSlice update could cause node
name information to be dropped from endpoints that were not updated.
2022-02-17 17:41:17 -05: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
Kubernetes Prow Robot
d6087e7409
Merge pull request #108122 from sanposhiho/fix-broken-link-commonsh
Fix broken link for common.sh
2022-02-17 13:55:04 -08:00
Antonio Ojea
8b5fa408e0 kube-proxy: only set route_localnet if required
kube-proxy sets the sysctl net.ipv4.conf.all.route_localnet=1
so NodePort services can be accessed on the loopback addresses in
IPv4, but this may present security issues.

Leverage the --nodeport-addresses flag to opt-out of this feature,
if the list is not empty and none of the IP ranges contains an IPv4
loopback address this sysctl is not set.

In addition, add a warning to inform users about this behavior.
2022-02-17 20:20:31 +01: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
Abdullah Gharaibeh
957f1892d3 fix typo 2022-02-17 12:53:27 -05: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