Commit Graph

9085 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
dba8d60f8c Merge pull request #87077 from soltysh/remove_run_generators
Remove kubectl run generators
2020-01-29 12:16:14 -08:00
Kubernetes Prow Robot
cad44602e1 Merge pull request #87599 from mikedanese/rctx-cleanup
various context related cleanups to rest.Request
2020-01-29 07:33:04 -08:00
Kubernetes Prow Robot
29b09c7fb1 Merge pull request #87423 from soltysh/fix_tain_validation
Fix kubectl taint's Complete parsing
2020-01-29 04:46:13 -08:00
Elijah Oyekunle
cece51b9b0 bump gengo version 2020-01-28 10:58:15 +01:00
Elijah Oyekunle
558f6aab56 add staging directories to import-boss verify script 2020-01-28 10:51:46 +01:00
Elijah Oyekunle
db19fc9427 add import-restrictions to apiextensions-apiserver/pkg/apis,v1 and v1beta1 2020-01-28 10:51:46 +01:00
Anish Ramasekar
647838f8d5 switch log verbosity for cache refresh logs 2020-01-27 22:30:50 -08:00
Mike Danese
d95ed2c847 various context related cleanups to rest.Request
* Move all usage of r.ctx to the beginning of Do, DoRaw, Stream, Watch
* Move tryThrottle from Do and DoRaw into request()
* Make request() and tryThrottle take a context
* In request(), remove the timeout context setting out of the loop

These changes should be entirely behavior preserving.
2020-01-27 20:22:45 -08:00
Kubernetes Prow Robot
e2f529adaf Merge pull request #87531 from aramase/set-nil-cache
azure: set nil cache entry based on old cache
2020-01-27 15:41:38 -08:00
Anish Ramasekar
e2d7153a13 set nil cache entry based on old cache
fix tests

update old entry logic
2020-01-27 13:41:41 -08:00
Kubernetes Prow Robot
3fca0a6e41 Merge pull request #86959 from dprotaso/roundtrip-lib
Updates to roundtrip package
2020-01-27 09:09:03 -08:00
Dave Protasowski
53cc85a29d Expose k8s types that do not roundtrip and a helper to roundtrip without protobuf 2020-01-27 09:38:04 -05:00
Maciej Szulik
6972d6f33a Fix kubectl taint's Complete parsing 2020-01-27 13:31:22 +01:00
Kubernetes Prow Robot
d1dd6cb0ef Merge pull request #87555 from feiskyer/client-cleanup
Cleanup unused Azure client interfaces
2020-01-26 20:25:02 -08:00
Kubernetes Prow Robot
51bb3238f2 Merge pull request #87528 from MikeSpreitzer/refactor/catch-all
Make API Priority and Fairness suggested config avoid the mandatory catch-all
2020-01-26 18:35:02 -08:00
Pengfei Ni
d7650e582e Cleanup unused Azure client interfaces 2020-01-26 13:42:45 +00:00
Kubernetes Prow Robot
25b4c170f8 Merge pull request #87362 from MikeSpreitzer/limited-cancel2
Simplified and corrected logic around context cancelation in refactored QueueSet
2020-01-24 21:11:02 -08:00
Kubernetes Prow Robot
94ea2be3cc Merge pull request #87393 from MikeSpreitzer/remove-unused-loop
remove unused layer of loop structure in processorListener::run
2020-01-24 19:21:28 -08:00
Kubernetes Prow Robot
02c1b7f220 Merge pull request #87237 from ialidzhikov/cleanup/commented-assertions
Clean up commented assertions in tests
2020-01-24 19:21:02 -08:00
Kubernetes Prow Robot
bbc035a66c Merge pull request #87507 from weinong/revert-86412
Revert "It fixes a bug where AAD token obtained by kubectl is incompa…
2020-01-24 16:04:05 -08:00
Mike Spreitzer
cbdd3a279e brushed up according to review
Added LockingWriteMultipleOnly and LockingWriteOnceOnly interfaces,
so that further extensions are possible (in this package or others).

Moved common SetLocked behavior into promisoid.

Made comments say things that were implied.
2020-01-24 14:35:09 -05:00
yue9944882
d1f62ead18 fork out a new global-default from catch-all to handle unclassified traffic 2020-01-24 11:56:20 -05:00
Kubernetes Prow Robot
b1cd93a639 Merge pull request #87500 from jennybuckley/reenable-apply
Re-enable apply for 50% of requests
2020-01-24 03:03:08 -08:00
Kubernetes Prow Robot
58c67632e5 Merge pull request #87475 from liggitt/drop-ga-gates
Remove deprecated GA feature gates that expire in 1.18
2020-01-24 03:02:46 -08:00
Kubernetes Prow Robot
6ae7bfc691 Merge pull request #87138 from markusthoemmes/fix-capitalization-error
Fix error-string-capitalization in clientset generator.
2020-01-24 03:02:33 -08:00
Weinong Wang
d56f535755 fixed UT 2020-01-23 18:21:59 -08:00
Kubernetes Prow Robot
07b358b190 Merge pull request #87467 from cjcullen/yaml
Update gopkg.in/yaml.v2 to v2.2.8
2020-01-23 17:41:32 -08:00
Kubernetes Prow Robot
5918208fa5 Merge pull request #87459 from deads2k/object-ref-warning
add warning on ObjectReference
2020-01-23 17:41:22 -08:00
Kubernetes Prow Robot
9f09913dbf Merge pull request #86015 from squeed/informer-missing-updates
informers: Don't treat relist same as sync
2020-01-23 17:40:32 -08:00
Weinong Wang
71b2a4cdcc Revert "It fixes a bug where AAD token obtained by kubectl is incompatible with on-behalf-of flow and oidc."
This reverts commit d1480ab49d.

Revert this commit due to incomplete migration path
2020-01-23 14:21:33 -08:00
jennybuckley
9b67974823 Re-enable apply for 50% of requests 2020-01-23 11:27:20 -08:00
Jordan Liggitt
4c2eb77ee6 Remove use of CustomResourceSubresources feature gate, CRD field clearing 2020-01-23 13:44:22 -05:00
Jordan Liggitt
57f3a97bcb Remove use of CustomResourceWebhookConversion feature gate 2020-01-23 13:44:22 -05:00
Jordan Liggitt
46e622216d Remove use of CustomResourceDefaulting feature gate 2020-01-23 13:44:21 -05:00
Jordan Liggitt
ff94f33a6b Remove use of CustomResourcePublishOpenAPI feature gate 2020-01-23 13:44:21 -05:00
Jordan Liggitt
57724766bc Remove deprecated GA feature gates 2020-01-23 13:44:21 -05:00
CJ Cullen
b86df2bec4 update gopkg.in/yaml.v2 to v2.2.8 2020-01-23 09:10:54 -08:00
Casey Callendrello
ca1eeb99b5 informers: don't treat relist same as sync
Background:

Before this change, DeltaFIFO emits the Sync DeltaType on Resync() and
Replace(). Seperately, the SharedInformer will only pass that event
on to handlers that have a ResyncInterval and are due for Resync. This
can cause updates to be lost if an object changes as part of the Replace(),
as it may be incorrectly discarded if the handler does not want a Resync.

What this change does:

Creates a new DeltaType, Replaced, which is emitted by DeltaFIFO on
Replace(). For backwards compatability concerns, the old behavior of
always emitting Sync is preserved unless explicity overridden.

As a result, if an object changes (or is added) on Replace(), now all
SharedInformer handlers will get a correct Add() or Update()
notification.

One additional side-effect is that handlers which do not ever want
Resyncs will now see them for all objects that have not changed during
the Replace.
2020-01-23 11:25:15 +01:00
Kubernetes Prow Robot
03cb6afc1a Merge pull request #87442 from jennybuckley/smd-3
Update structured-merge-diff dependency to v3
2020-01-22 20:37:26 -08:00
Kubernetes Prow Robot
bb425a86ee Merge pull request #87338 from deads2k/catchpanics
add crash protection to wait functions that were missing it
2020-01-22 20:37:19 -08:00
Kubernetes Prow Robot
6509574885 Merge pull request #87241 from RainbowMango/pr_support_fake_registry
Support test deprecated metrics
2020-01-22 20:37:03 -08:00
Kubernetes Prow Robot
0724871162 Merge pull request #86816 from deads2k/auto-reload-csr
add dynamic reloading for CSR signing controllers
2020-01-22 18:46:49 -08:00
David Eads
90b49e80d6 add warning on ObjectReference 2020-01-22 19:28:34 -05:00
Kubernetes Prow Robot
d4fa3d9b7d Merge pull request #87265 from oomichi/enable-dependency-check-on-e2e-framework
Enable verify-import-boss check for e2e framework
2020-01-22 14:48:40 -08:00
Mike Spreitzer
d2ad469abb remove unused layer of loop structure in processorListener::run
Also updated the comment inside processorListener::run, to restore
accuracy about how long the delay is.
2020-01-22 16:48:52 -05:00
David Eads
5c2d2c5ef1 rename dynamic cert loading to be more accurate 2020-01-22 15:00:46 -05:00
Maciej Szulik
82f97775b7 Remove kubectl run generators 2020-01-22 16:44:00 +01:00
Kubernetes Prow Robot
f10de54bc0 Merge pull request #83598 from jktomer/healthz-metrics
healthz: instrument root healthz requests for metrics
2020-01-22 07:22:44 -08:00
Kubernetes Prow Robot
dcd0755f84 Merge pull request #85846 from akhinos/fix-describe-partition
Fix: describe of statefulset prints pointer not value
2020-01-22 04:46:34 -08:00
Kenichi Omichi
30de5bdc46 Enable verify-import-boss check for e2e framework
Due to lack of the line "test/e2e/framework/" in import-boss/main.go
verify-import-boss didn't work for e2e framework.
This makes the check enabled by adding the line.
In addition, this adds some e2e sub framework packages and some
k8s.io/utils packages which were implemented after creating
.import-restrictions to pass the check.
2020-01-22 01:51:54 +00:00