Commit Graph

2887 Commits

Author SHA1 Message Date
Kubernetes Publisher 2200fef3ea Merge pull request #76914 from tsuna/master
vendor: update golang.org/x/oauth2

Kubernetes-commit: 219b166cb172344ee666a107161c07ba3805bd67
2019-04-24 05:32:42 +00:00
Kubernetes Publisher cc449ec470 Merge pull request #76903 from hormes/refactor_watch_cache
add object type to cacheWatcher

Kubernetes-commit: bd12b0138743c093ec1c4851273e997578cce937
2019-04-23 17:30:55 +00:00
Mike Danese 41072ba78c vendor github.com/google/go-cmp
Kubernetes-commit: 76f683a8f3dc2977846e16b2ea14208a51c2cb6b
2019-04-22 21:41:46 -07:00
Mike Danese 84cf7582e3 webhook: support exec auth plugin
This allows webhook static kubeconfig to use an exec auth plugin to
configure authentication.

https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#authenticate-apiservers

Kubernetes-commit: 8b45296661de1f12f441736ae44895ac30f320d4
2019-04-22 19:25:11 -07:00
Davanum Srinivas 48843cc083 Use latest etcd from release-3.3 branch for dropping ugorji
Pick up changes from:
https://github.com/etcd-io/etcd/pull/10675

Change-Id: Ic4d6daa3c54824d3d27809a125b798e88db0bf7e

Kubernetes-commit: 8824e0fcf721709f271367daf120d24f8f48596e
2019-04-22 20:40:57 -04:00
Benoit Sigoure 250f661938 vendor: update golang.org/x/oauth2 and cloud.google.com/go
Pick up the bug fix for golang/oauth2#237
Bump up cloud.google.com/go as a result of updating the OAuth2 code.

This commit was generated by:
./hack/pin-dependency.sh golang.org/x/oauth2 9f3314589c9a
./hack/pin-dependency.sh cloud.google.com/go v0.34.0
./hack/update-vendor.sh
git add vendor
git add -u

Kubernetes-commit: ef492e2d70385c43c5f1dad203ce635b40699341
2019-04-22 16:07:52 -07:00
fansong.cfs d08e2bcfac add object type to cacheWatcher
Kubernetes-commit: 6c6d472039ea3628ac014d38a7ccc516554fce81
2019-04-23 00:35:56 +08:00
Kubernetes Publisher 0a718f081a Merge pull request #76474 from vincepri/update-klog-030
Update klog to 0.3.0

Kubernetes-commit: 17fe18bd9cc5652a5dee688255323ce2d07538dd
2019-04-18 21:33:08 +00:00
Ted Yu e65e768f58 Use read lock in ready#check
Kubernetes-commit: 04a7b50a020906e8e5cd32dfce378125606ce97d
2019-04-18 14:00:42 -07:00
wojtekt a3fd374f10 Reduce contention in watchcache by not calling event handler under lock
Kubernetes-commit: e6e43828284c6e83cf2b4658fa377b4cc7dec0c3
2019-04-17 12:53:36 +02:00
Clayton Coleman dc06278276 CRDs should support watch of protobuf PartialObjectMetadata
Correctly ensure CRDs can be watched using protobuf when transformed to
PartialObjectMetadata. To do this we add a set of serializers allowed to
be used for "normal" requests (that return CRDs) while the serializers
supported by the infrastructure is broader and includes protobuf. During
negotatiation we check for transformation requests and protobuf is
excluded from non-transform requests.

As part of the change, correct an error message when the server returns
a 406 but the client doesn't accept the format to avoid confusing users
who set impossible Accept rules for CRDs (the dynamic client doesn't
support Protobuf, so if the server responds with a protobuf status the
message from the server is lost and the generic error was confusing).

Kubernetes-commit: 89e752add07f443248f66e4798d160f2d7529a19
2019-04-16 23:21:44 -04:00
Ryan McNamara cae815db01 Error when etcd3 watch finds delete event with nil prevKV
Kubernetes-commit: 504380682fce0b60318d64999554ccd518b8fc63
2019-04-16 12:55:15 -07:00
Vince Prignano 42540396f7 Update klog to 0.3.0
Signed-off-by: Vince Prignano <vincepri@vmware.com>

Kubernetes-commit: 3f552264ca28a4738c77ebed8414d0d2dc8e7063
2019-04-11 15:57:45 -07:00
Kubernetes Publisher b100d17e16 Merge pull request #76413 from yue9944882/chore/feature-gates
Add feature gates for switching between the legacy inflight limiting

Kubernetes-commit: ca0c44641feadbd184da2e347d06db6b4163875d
2019-04-18 01:29:18 +00:00
Kubernetes Publisher 47f1dd8008 Merge pull request #76652 from liggitt/ginkgo
github.com/onsi/ginkgo v1.6.0

Kubernetes-commit: e4a43656074e36d1529d4ca0bc3db451f2cde257
2019-04-17 21:32:31 +00:00
Kubernetes Publisher e5a4076f9f Merge pull request #75474 from hormes/add_heartbeat_inside_watch
add heartbeat inside watch

Kubernetes-commit: 84a859fbcfed59cc29d9cf33a0815dcc85348373
2019-04-16 21:30:55 +00:00
Jordan Liggitt 5fcd991256 github.com/onsi/ginkgo v1.6.0
Kubernetes-commit: 56b19637052d58b57844f5dd579de3923f1c7d6a
2019-04-16 10:28:44 -04:00
yue9944882 735ce2f371 add new flag for enabling requests mgmt handler
Kubernetes-commit: 87d09301e59ac65e55dba32614b8e8b3bae2dd8f
2019-04-15 14:57:55 +08:00
yue9944882 f3f72cbd35 add feature gates for switching between the legacy inflight limiting
Kubernetes-commit: 6630d7c587578864d80ad9cb29b14eca02b8b08a
2019-04-11 12:05:31 +08:00
Chao Xu 5c9333e4d3 Run deleteValidation at the storage layer so that it will be retried on
conflict.

Adding unit test verify that deleteValidation is retried.

adding e2e test verifying the webhook can intercept configmap and custom
resource deletion, and the existing object is sent via the
admissionreview.OldObject.

update the admission integration test to verify that the existing object
is passed to the deletion admission webhook as oldObject, in case of an
immediate deletion and in case of an update-on-delete.

Kubernetes-commit: 7bb4a3bace048cb9cd93d0221a7bf7c4accbf6be
2019-04-09 13:49:16 -07:00
Chao Xu 034ed25bbe Add RemainingItemCount to ListMeta
Kubernetes-commit: 58c18309a84f9e0fe05b92c202616e4ecf8062f7
2019-04-01 14:44:19 -07:00
fansong.cfs 58fb117373 add watch bookmark
Kubernetes-commit: d70edd3d39d4430d71c4b7c9adba8df5ba7f16c8
2019-03-19 18:16:23 +08:00
Kubernetes Publisher d28722dbb4 Merge pull request #76610 from liggitt/bump-proto
github.com/gogo/protobuf v0.0.0-20171007142547-342cbe0a0415

Kubernetes-commit: 701e36bd5bc265174ac9c4ce983dcc044e5bad53
2019-04-16 05:32:03 +00:00
Kubernetes Publisher d03f417934 Merge pull request #74074 from wojtek-t/watch_bookmark_api_changes
Watch bookmark api changes

Kubernetes-commit: 107595eb5e2da6f79a07fb8b5900deec7f063141
2019-04-16 05:32:01 +00:00
Kubernetes Publisher 4256a2fccb Merge pull request #72751 from zhouhaibing089/no-internal-error-for-failure-webhook
webhook: respect the status error from webhook

Kubernetes-commit: ed77b963874e675df3535ebb8cc8010e85aa8e55
2019-04-15 21:29:21 +00:00
Jordan Liggitt 9c2ac0da61 github.com/gogo/protobuf v0.0.0-20171007142547-342cbe0a0415
Kubernetes-commit: 7a6d64a3e930120dddc78ad0d12493ea70469ffa
2019-04-15 10:58:44 -04:00
Kubernetes Publisher b3e4f2396b Merge pull request #76559 from liggitt/bump-prometheus
bump github.com/prometheus/client_model, github.com/prometheus/profcs to preferred versions

Kubernetes-commit: 117160a9e2282aeac36e8b31f655f070202e09c7
2019-04-15 13:32:14 +00:00
Jordan Liggitt 15aaa00097 github.com/golang/protobuf v1.2.0
Kubernetes-commit: 12d66f6d640e7480fadabcb552762879228ecf1f
2019-04-14 00:43:05 -04:00
Jordan Liggitt 8200e53805 bump github.com/prometheus/client_model, github.com/prometheus/profcs to preferred versions
Kubernetes-commit: 2c6a6cd42a60cf969726150f16a60f9a47f5de9f
2019-04-13 23:31:11 -04:00
Kubernetes Publisher 5b6ebd8033 Merge pull request #76522 from liggitt/prune-replace
Prune replace directives

Kubernetes-commit: e68888384bc3e6310a54d0a516419394bf6e9aba
2019-04-13 05:32:00 +00:00
Kubernetes Publisher 6b7128f82a Merge pull request #75161 from yamt/typo
Fix a typo in a code example in a comment

Kubernetes-commit: 72fa0507bf5805b1e21e840905037c610933f065
2019-04-13 05:31:58 +00:00
Jordan Liggitt 908dfa4b7a generated: hack/update-vendor.sh
Kubernetes-commit: 498959accc060c81536101f7dd570289f4f8c0f2
2019-04-12 16:38:00 -04:00
Kubernetes Publisher 7a95013359 Merge pull request #75843 from alok87/update-dep-docker-docker-18.09.3
Update docker/docker dependency to release 18.09.4

Kubernetes-commit: c6338979ff18a44f6d3030255ca3b73d1bd97114
2019-04-12 13:29:29 +00:00
Alok Kumar Singh adde79cc2c Docker dependency updated to 18.09.4 i.e be7ac8be2ae072032a4005e8f232be3fc57e4127
Kubernetes-commit: 5c113cf435105e6de69fa5a668b8bdbf9c0c4213
2019-04-11 20:49:41 +05:30
Kubernetes Publisher 410534e5dc Merge pull request #76375 from wojtek-t/simplify_cacher
Minor cleanup in cacher

Kubernetes-commit: ae1e4769d9b4b37bf67fcd29cda48564224ab352
2019-04-11 13:29:13 +00:00
wojtekt 22832ea49c Minor cleanup in cacher
Kubernetes-commit: 5d368ff301d328e4ffa5abacb3c2f2aeddb7715a
2019-04-10 12:56:02 +02:00
Kubernetes Publisher 960ba986eb Merge pull request #76330 from wojtek-t/simplify_watchcache
Slightly simplify watchcache

Kubernetes-commit: c4f97fa2a3a6f952cd2e0d93e237482990b13fe7
2019-04-10 01:29:38 +00:00
wojtekt f8c5a84403 Slightly simplify watchcache
Kubernetes-commit: c93f889833a4e9b519409c60f326c9970b4ee02a
2019-04-09 14:20:18 +02:00
Kubernetes Publisher 67d6e044d2 Merge pull request #76215 from liggitt/update-vendored-dependencies
Update vendored dependencies

Kubernetes-commit: 1cca3f9d45a6aae62145b8630e36722bd316ef88
2019-04-09 09:32:29 +00:00
Kubernetes Publisher 0ea8fc8c95 Merge pull request #76235 from mkumatag/fix_unit
Fix the formatting string

Kubernetes-commit: 386d323f5ac64205973ae880f12dcdc41d4e066f
2019-04-09 01:28:47 +00:00
Kubernetes Publisher 31d0123d52 Merge pull request #76197 from liggitt/generated-vendor
Mark staging go module files as generated, add script to lint dependencies

Kubernetes-commit: 8a2f8e69ed0cfaae38cf7a40cc40b71a36ff319b
2019-04-08 17:31:35 +00:00
Kubernetes Publisher e5e061ff07 Merge pull request #74855 from mbohlool/sam
Add Port configuration to ServiceReference of Admission webhooks, CRD Conversion Webhooks, AuditSink Webhooks and kube-aggregator

Kubernetes-commit: eb65eacfcab4b53eb65953b9f59a00e3e2b5a909
2019-04-08 17:31:33 +00:00
Jordan Liggitt 23db1df2ef generated: hack/update-vendor.sh
Kubernetes-commit: ce3dad93f51b8c793661bf4c5cb9f7677d2bc7aa
2019-04-08 09:24:24 -04:00
Manjunath A Kumatagi 470bc75262 Fix the formatting string
Kubernetes-commit: e9d1a90535e6afd32a65c6a99222229a8d9e8665
2019-04-07 12:01:07 +05:30
Jordan Liggitt c2b68f2098 golang.org/x/tools v0.0.0-20190313210603-aa82965741a9 (release-branch.go1.12)
Kubernetes-commit: 389f76235cb8e2457d681d07c89d1342cee13b3b
2019-04-06 11:11:39 -04:00
Jordan Liggitt 2b8b52bdab golang.org/x/crypto v0.0.0-20181025213731-e84da0312774 (release-branch.go1.12)
Kubernetes-commit: 97c130b0560982556f54dc83d38d9e70e8be9320
2019-04-06 10:20:37 -04:00
Jordan Liggitt ca058a5faf golang.org/x/sys v0.0.0-20190209173611-3b5209105503 (release-branch.go1.12)
Kubernetes-commit: 921f3ea8da0a29cd9b06413439485b36ef6426b6
2019-04-05 14:20:21 -04:00
Jordan Liggitt c5925fe760 golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db (release-branch.go1.12)
Kubernetes-commit: 55d52fd5c35351c221f055ab08f3855ab5782b0d
2019-04-05 11:18:45 -04:00
Jordan Liggitt 45cec08245 github.com/stretchr/objx v0.1.1, github.com/stretchr/testify v1.2.2
Kubernetes-commit: e8e15acff61ee4e291396e37081c6137ec33ad5d
2019-04-06 10:39:05 -04:00
Jordan Liggitt 96fac000c7 github.com/sirupsen/logrus v1.2.0
Kubernetes-commit: 3cabb5e65417285f18f14d5d2f2c2ab8cb873a64
2019-04-05 13:35:02 -04:00