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
Julian V. Modesto
18fe96f629
Reduce public methods for DryRunVerifier
2020-01-27 22:07:00 -05: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
Weinong Wang
6901346e22
don't specify apiVersion when getting AAD token
2020-01-27 15:28:34 -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
Mike Spreitzer
b8e2ad5926
More refinement of comments and parameter names for informers
...
Removed the incorrect promise of coherency in the answer to a query to
an informer's local cache. Removed the definition of "collection
state", because it was only used in the now-removed promise. Added a
remark about ordering of states that appear in an informer's local
cache.
Brushed up the commentary on resync period. Changed the relevant
parameter of NewSharedInformer to have the same name as the
corresponding parameter to NewSharedIndexInformer.
2020-01-27 00:26:02 -05: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
Bailey Hayes
2d9b798d1a
Remove doc reference to godep #782
2020-01-25 20:49:34 -05:00
Dao Hoang Son
4d33d837c8
Register full object as return type for DELETE web services.
...
Related to https://github.com/kubernetes/kubernetes/issues/59501
Maybe related to https://github.com/kubernetes/enhancements/pull/1263
2020-01-26 07:26:12 +07:00
Elias Ohm
ed2f1a6f42
fix behaviour of aws-load-balancer-security-groups annotation
2020-01-25 20:23:00 +01: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
Odin Ugedal
292804ae1c
Bump dependency github.com/prometheus/client_model@v0.2.0
2020-01-24 13:27:15 +01:00
Odin Ugedal
088ee920e0
Bump dependency opencontainers/runc@v1.0.0-rc10
2020-01-24 13:11:01 +01: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
Md Tahsin Rahman
a85815823e
Do not serialize internal type, fix roundtrip
2020-01-23 23:45:35 +06:00
CJ Cullen
b86df2bec4
update gopkg.in/yaml.v2 to v2.2.8
2020-01-23 09:10:54 -08:00
Ted Yu
5b49d03b84
Return the error from copyInto
2020-01-23 07:48:39 -08:00
Sakura
9897f33f7d
fix static check errors in vendor/k8s.io/apimachinery/pkg/api/resource
...
Signed-off-by: Sakura <longfei.shang@daocloud.io >
2020-01-23 21:07:14 +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
drfish
a14ceeb2c0
Staticcheck: vendor/k8s.io/kubectl/pkg/cmd/exec|config|certificates
2020-01-23 14:03:11 +08: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