SataQiu
3469bb05db
kubeadm: fix unit test panic for TestNewResetData
2023-04-22 17:02:34 +08:00
Kubernetes Prow Robot
25a25e27a9
Merge pull request #110477 from halfcrazy/feat/hostnetwork-fieldsel
...
support fieldSelector spec.hostNetwork
2023-04-21 18:13:11 -07:00
Kubernetes Prow Robot
cb032ec34e
Merge pull request #117526 from BenTheElder/mock-fun
...
call kube::golang::setup_env before setting up worktree, cleanup update-mocks.sh
2023-04-21 17:15:12 -07:00
Benjamin Elder
ed37e6986b
uncomment exit trap to cleanup tmpdir
2023-04-21 16:16:53 -07:00
Benjamin Elder
63d44fdde5
retain KUBE_GOPATH on recursive kube::golang
2023-04-21 16:15:21 -07:00
Benjamin Elder
4d736a0435
cleanup update-mocks.sh
...
- remove unused tempdir
- use mktemp instead of creating tmpfile in repo
- normalize indent
2023-04-21 16:15:21 -07:00
Benjamin Elder
726992f9db
call kube::golang::setup_env before setting up worktree
2023-04-21 16:15:21 -07:00
Kubernetes Prow Robot
15fd84d809
Merge pull request #117332 from kkkkun/bump-etcd-image-3.5.8
...
etcd: Build image 3.5.8-0
2023-04-21 15:01:11 -07:00
Kubernetes Prow Robot
4336b4ac45
Merge pull request #117424 from cbandy/kubeadm-testing-setenv
...
Replace os.Setenv with testing.T.Setenv in tests
2023-04-21 10:35:13 -07:00
Nico Berlee
39e52449f9
remove nodes resource from CoreDNS RBAC manifest
...
This commit syncs RBAC from coredns/deployment and removes a get nodes
RBAC.
Historically the federation CoreDNS plugin needed the nodes resource to
fetch zone and region labels.
However, the CoreDNS federation plugin was deprecated and cleaned up a
long time ago and removed the Nodes RBAC requirement here in
`coredns/deployment` coredns.yaml.sed:
https://github.com/coredns/deployment/pull/229
This change however, never made it to `kubernetes/kubernetes`.
Signed-off-by: Nico Berlee <nico.berlee@on2it.net>
2023-04-21 15:10:31 +02:00
Kubernetes Prow Robot
065428befa
Merge pull request #116972 from apelisse/update-openapi-file-client
...
openapi: Make file client more easy to re-use
2023-04-20 20:11:10 -07:00
Kubernetes Prow Robot
76a94fd836
Merge pull request #117510 from BenTheElder/clean-fun
...
ensure we can remove _output
2023-04-20 19:15:22 -07:00
Kubernetes Prow Robot
7fe63a9b1a
Merge pull request #116902 from sourcelliu/cast
...
Remove unnecessary int type conversion
2023-04-20 19:15:10 -07:00
Kubernetes Prow Robot
9d34ca5b66
Merge pull request #117276 from pacoxu/image-pull-event
...
kubelet: truncate the precision at a millisecond for image pull event message
2023-04-20 17:45:10 -07:00
Benjamin Elder
7a14c5ad6d
ensure we can remove _output
2023-04-20 17:04:01 -07:00
Kubernetes Prow Robot
0251dde788
Merge pull request #117508 from BenTheElder/no-worries
...
drop linux/arm build warning, now that 1.27 is released, this is cove…
2023-04-20 16:47:10 -07:00
Benjamin Elder
11f3ef1ed7
drop linux/arm build warning, now that 1.27 is released, this is covered by the release notes
...
dims notes there have been no complaints so far
2023-04-20 15:47:57 -07:00
Kubernetes Prow Robot
8d494c49d1
Merge pull request #114068 from cyclinder/feature_gate
...
remove GA feature-gate for 1.28
2023-04-20 09:25:11 -07:00
Mohit Sharma
8efeb5afcf
Dependencies Update google.golang.org/protobuf v1.28.1 to v1.30.0
2023-04-20 14:06:57 +05:30
Kubernetes Prow Robot
bda7e89790
Merge pull request #117352 from mohitsharma-in/update/golang_x_tools
...
dependencies: Update golang.org/x/tools to v0.8.0
2023-04-20 01:19:13 -07:00
Mohit Sharma
6f90c53633
Dependencies Update golang.org/x/tools v0.7.0 to v0.8.0
2023-04-20 11:00:06 +05:30
Maciej Borsz
5c584269a7
avoid volume copy in checkAttachableInlineVolume
2023-04-19 20:10:22 +00:00
Kubernetes Prow Robot
0afa60086a
Merge pull request #117484 from BenTheElder/tutorial
...
remove defunct interactive tutorial
2023-04-19 12:57:10 -07:00
Kubernetes Prow Robot
10d9d4b741
Merge pull request #117449 from TommyStarK/e2e/gh_117443
...
e2e: fix flaky test 'should contain OpenAPI V3 for Aggregated APIServer'
2023-04-19 11:31:11 -07:00
Benjamin Elder
2bbd07c019
remove defunct interactive tutorial
2023-04-19 11:06:26 -07:00
Kubernetes Prow Robot
f0e01d2d9e
Merge pull request #117014 from p0lyn0mial/upstream-cacher-init-expired-watchers
...
cacher: do not simply popExpiredWatchers when the cacher hasn't dispatched any event
2023-04-19 08:43:11 -07:00
ArkaSaha30
1d15354ccb
update gofuzz dependency
...
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2023-04-19 21:08:16 +05:30
ArkaSaha30
2cd23c8b17
Update go-logr dependencies
...
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2023-04-19 21:01:55 +05:30
kkkkun
be6709044a
etcd: Build image 3.5.8-0
...
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2023-04-19 22:08:45 +08:00
Lukasz Szaszkiewicz
6db4cbfde7
cacher: do not popExpiredWatchers when the cacher hasn't dispatched any event
...
If the cacher hasn't seen any event (when lastProcessedResourceVersion is zero) and
the bookmarkTimer has ticked then we shouldn't popExpiredWatchers. This is
because the watchers wont' be re-added and will miss future bookmark events when
the cacher finally receives an event via the c.incoming chan.
2023-04-19 15:29:13 +02:00
Lukasz Szaszkiewicz
eab66a687b
cacher avoid double locking ( #117410 )
...
* cacher: remove locking from watcherBookmarkTimeBuckets
it turns out that the watcherBookmarkTimeBuckets
is called from only three places/methods: startDispatching, finishDispatching and Watch.
All these methods acquire c.Lock() before touching watcherBookmarkTimeBuckets.
Thus we could remove explicit locking in
watcherBookmarkTimeBuckets since the access is already synced.
* cacher: rename watcherBookmarkTimeBuckets methods to indicate that proper synchronisation must be used
2023-04-19 06:13:11 -07:00
Kubernetes Prow Robot
0d41d28ea2
Merge pull request #117408 from cenkalti/backoff
...
dependencies: update github.com/cenkalti/backoff/v4 to v4.2.1
2023-04-19 03:55:22 -07:00
Kubernetes Prow Robot
cf89189ca3
Merge pull request #117399 from mohitsharma-in/update/golang_time
...
dependencies : Update golang.org/x/time v0.3.0
2023-04-19 03:55:10 -07:00
Kubernetes Prow Robot
ff4eff24ac
Merge pull request #116104 from daman1807/conntrack
...
Unified Conntrack Cleaning
2023-04-19 00:42:47 -07:00
TommyStarK
a02e94ae2b
e2e: fix flaky test 'should contain OpenAPI V3 for Aggregated APIServer'
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-04-19 08:25:30 +02:00
Kubernetes Prow Robot
9db01b6eb3
Merge pull request #117453 from liggitt/fix-applyset-e2e-env
...
Fix stomping os env in kubectl e2e tests
2023-04-18 22:26:45 -07:00
Jordan Liggitt
0c54d9af6f
Fix stomping os env in kubectl e2e tests
2023-04-19 01:32:20 +02:00
lowang_bh
eaba1703b1
enhancemanet: reduce calculation calls
...
Signed-off-by: lowang_bh <lhui_wang@163.com>
2023-04-18 22:27:35 +08:00
Kubernetes Prow Robot
1f0e718585
Merge pull request #117077 from pacoxu/fsquota-cleanup
...
skip clear quota if FSQuotaMonitoring is disabled
2023-04-18 02:36:57 -07:00
Kubernetes Prow Robot
84f5684c2d
Merge pull request #117416 from skitt/beequal
...
Document gomega.Equal() instead of gomega.BeEqual()
2023-04-18 01:40:58 -07:00
Humble Chirammal
a959785f96
dependencies: udpate coredns/caddy to v1.1.1
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-18 11:49:28 +05:30
Wojciech Tyczyński
0297329795
Refactor watch bookmark tests to allow sharing between etcd3 and watchcache
2023-04-18 08:04:39 +02:00
Wojciech Tyczyński
45e836a968
Generalize few watch tests from cacher
2023-04-18 08:02:32 +02:00
Kubernetes Prow Robot
8bba479f03
Merge pull request #117388 from alexanderConstantinescu/117375
...
[KCCM] service controller: add `providerID` Node predicate
2023-04-17 21:32:59 -07:00
Chris Bandy
7cbbf47f5e
Cleanup environment in tests that call os.Unsetenv
...
testing.T.Cleanup ensures the environment is restored after a test and
any of its parallel sub-tests. It's possible that these can be
simplified further to T.Setenv(key, ""), but I did not investigate.
2023-04-17 20:40:08 -05:00
Chris Bandy
d38ac7e7c6
Replace os.Setenv with testing.T.Setenv in tests
...
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.
2023-04-17 20:39:46 -05:00
Chris Bandy
cf125a3561
Replace os.Setenv with testing.T.Setenv in tests
...
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.
2023-04-17 20:21:56 -05:00
Chris Bandy
b9ef160322
Cleanup environment in tests that call os.Unsetenv
...
testing.T.Cleanup ensures the environment is restored after a test and
any of its parallel sub-tests. It's possible that some of these can be
simplified further to T.Setenv(key, ""), but I did not investigate.
2023-04-17 20:03:33 -05:00
Chris Bandy
240fccd766
Replace os.Setenv with testing.T.Setenv in tests
...
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.
2023-04-17 20:03:09 -05:00
Cenk Alti
29b6c54d15
dependencies: update github.com/cenkalti/backoff/v4 to v4.2.1
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-04-17 18:20:27 -04:00