Joe Betz
19327df6d5
Pass {Operation}Option to Webhooks
...
Kubernetes-commit: 140c8c73a64deb102b528109138ca9fb7dbb2392
2019-05-07 13:34:18 -07:00
Han Kang
f65bb18f55
update dependencies (bring in prometheus and semver)
...
Kubernetes-commit: 91d3a79aaf787361210bd5eb4142a47e3e5dfb84
2019-05-07 10:38:53 -07:00
Kubernetes Publisher
292cbc37da
Merge pull request #75993 from caesarxuchao/add-count
...
Adding RemainingItemCount to ListMeta
Kubernetes-commit: 1fb8ed12a2d1d50a890f24c67c5fc0d37d4ffb04
2019-05-07 06:39:09 +00:00
Kubernetes Publisher
d16c4716d3
Merge pull request #76966 from figo/master
...
Split TestLoopbackHostPort into 2 tests
Kubernetes-commit: 1b4b1d1c73493f2847d8d33274c79c10ed17eb80
2019-05-06 21:32:05 -07:00
jennybuckley
e999a5ebe2
Treat NoCorrespondingTypeError as MissingVersionError
...
Kubernetes-commit: 13cb241b1833495c8f195dac96dacf54c0ba4a3a
2019-05-06 15:13:36 -07:00
Clayton Coleman
1394d8d85c
API server should offer metav1 Table/Partial transforms
...
Now that internal types are equivalent, allow the apiserver to serve
metav1 and metav1beta1 depending on the client. Test that in the
apiserver integration test and ensure we get the appropriate responses.
Register the metav1 type in the appropriate external locations.
Kubernetes-commit: 33a3e325f754d179b25558dee116fca1c67d353a
2019-05-04 16:55:49 -04:00
hui luo
2c9b5e28c4
Split TestLoopbackHostPort into 2 tests
...
firstly, split into two tests: TestLoopbackHostPortIPv4 and TestLoopbackHostPortIPv6.
then improve error handling, going to fail with explicit error message when run host
that does not support ipv6 or ipv4
Kubernetes-commit: 6b73b5031c463437064b1593d00a60107d09dd99
2019-04-23 14:52:39 -07:00
Kubernetes Publisher
31dae0fcea
Merge pull request #77510 from wojtek-t/revert_beorn7
...
Revert "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973"
Kubernetes-commit: 203d5f07c8cc661f4be020b8f1bf2ede9ecfa279
2019-05-07 02:39:26 +00:00
wojtekt
0270bf6df8
Revert "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973"
...
This reverts commit a2ec981f67360f5dace19bd3afa3b120da170484.
Kubernetes-commit: 21e51ddf368416c182734ffd01fb07243c4f8436
2019-05-06 15:56:15 +02:00
Kubernetes Publisher
7dc4ceb2fd
Merge pull request #77022 from liggitt/webhook-error-success
...
Ensure 4xx+ response codes from webhook rejections
Kubernetes-commit: aefa6d4492dd014c27cfc6f08ee5fe94384f87a3
2019-05-04 02:39:14 +00:00
Kubernetes Publisher
d03d7cbc3e
Merge pull request #76917 from dims/try-json-iterator-go-instead-of-ugorji-coded
...
Use latest etcd from release-3.3 branch for dropping ugorji
Kubernetes-commit: aff37ada4673a84df0c18f8a74cc8ac2234372a9
2019-05-03 11:13:08 +00:00
Kubernetes Publisher
0804cc0e5e
Merge pull request #77278 from liggitt/enable-etcd-paging
...
Enable API resource paging by default, by feature gate in sample-apiserver
Kubernetes-commit: 005eb53ea1d9a0fac4f008f79a9ee559436def53
2019-05-03 07:12:36 +00:00
Kubernetes Publisher
8584d010d1
Merge pull request #77281 from liggitt/remove-quorum-field
...
Remove unused quorum field
Kubernetes-commit: c821eb36b75a3756f870ffdf3e111b6e7dbdba7d
2019-05-03 03:12:44 +00:00
Jordan Liggitt
c20c25cef4
Remove unused quorum field
...
Kubernetes-commit: 35757a4b96b49fc21bb9bc8b47c5a86f005b166a
2019-04-30 17:39:31 -04:00
Jordan Liggitt
24677e9349
Enable paging by default in etcd options, by feature flag in sample-apiserver
...
Kubernetes-commit: 90cd672ab690cb387684603316dcd4550af1006b
2019-04-30 17:37:46 -04:00
Kubernetes Publisher
3d1cdf2f60
Merge pull request #76675 from ryanmcnamara/rm/error-on-nil-master
...
Error when etcd3 watch finds delete event with nil prevKV
Kubernetes-commit: 5ccda18fae27c474ec4e84537a8fe6cfa9d5dd96
2019-04-30 01:30:02 +00:00
Kubernetes Publisher
accf7b6d67
Merge pull request #76795 from tedyu/cacher-read
...
Use read lock in ready#check
Kubernetes-commit: 24c964d5c16426c929435eca4e26b7d9cf30dfcb
2019-04-26 13:30:39 +00:00
Kubernetes Publisher
6646c5a961
Merge pull request #76919 from mikedanese/webhook-exec
...
webhook: support exec auth plugin
Kubernetes-commit: 47c03403b85d3fcda338202d2a2afab06ba49226
2019-04-26 09:30:04 +00:00
Kubernetes Publisher
33871ad74f
Merge pull request #71500 from yue9944882/chore/homogenize-decoder-error
...
Transform decoder error into api status error when typer fails
Kubernetes-commit: 6a02542b79ca5bef697186366596cb150832ca3e
2019-04-26 01:29:41 +00:00
Kubernetes Publisher
48fa00984a
Merge pull request #76702 from wojtek-t/reduce_watchcache_contention
...
Reduce contention in watchcache by not calling event handler under lock
Kubernetes-commit: 9a1572b70abbcd976eb0acb4f77ef8fff3063818
2019-04-25 21:29:58 +00:00
Kubernetes Publisher
f2b86a8117
Merge pull request #77070 from feiskyer/autorest-update
...
Upgrade go-autorest to v11.1.2
Kubernetes-commit: 9e29c3e39f916fe67654c9e06ada23e42217e532
2019-04-25 17:32:33 +00:00
Pengfei Ni
676228aa70
Upgrade go-autorest to v11.1.2
...
Kubernetes-commit: 7976402a8716fa269346f104dbf1fc91af56c7c8
2019-04-25 16:51:30 +08:00
Jordan Liggitt
7c5dd5a07b
Ensure 4xx+ response codes from webhook rejections
...
Kubernetes-commit: 50076439fccb4ed6cf7b59f6f4add279ee7751aa
2019-04-24 15:27:19 -04:00
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