Commit Graph

10808 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
2bf8ab13c4 Merge pull request #80048 from davidz627/fix/tests
Fixes mount/unmount paths for migrated inline volumes
2019-07-12 20:19:17 -07:00
Dr. Stefan Schimanski
406fbf7d7e Update vendor 2019-07-12 21:04:06 +02:00
Dr. Stefan Schimanski
2b19e9526c openapi: commit low-change code-gen+sample-apiserver specs
The former is used as a smoke test to notice changes. The latter is supposed to be published and therefore must be commited. Both do not change much.
2019-07-12 21:04:06 +02:00
Dr. Stefan Schimanski
0124d58c0d apiextensions: update OpenAPI spec with v1beta1 meta types 2019-07-12 20:52:21 +02:00
Dr. Stefan Schimanski
1bdcabd638 sample-apiserver: add openapi spec 2019-07-12 20:52:21 +02:00
Dr. Stefan Schimanski
a64ce0c4d4 apiextensions: exclude newly added openapi from hack/update-codegen.sh
This will we readded in a follow-up.
2019-07-12 20:52:21 +02:00
Martin Vladev
35092146a4 code-generator: call openapi-gen from generate-internal-groups.sh
OpenAPI schema is a requirement for API Servers to be used with API Aggregation
and for kubectl to talk to them.
2019-07-12 20:52:21 +02:00
Kubernetes Prow Robot
416a717eff Merge pull request #78140 from zhan849/aws-get-instance-by-id
Cloud provider AWS library should query instance by ID when possible
2019-07-12 09:23:05 -07:00
Maciej Borsz
bc100cfd0c Register WatchEvents metric 2019-07-12 14:08:40 +02:00
Kubernetes Prow Robot
a46eed0ca3 Merge pull request #79786 from wojtek-t/watch_bookmarks_beta
Promote WatchBookmarks to beta
2019-07-12 02:51:06 -07:00
wojtekt
72eadb167b Autogenerated files 2019-07-12 09:11:42 +02:00
wojtekt
a947e28cbe Migrate WatchBookmarks to Beta 2019-07-12 09:07:39 +02:00
wojtekt
175c07f4e6 Enable watch bookmarks in reflector 2019-07-12 09:07:38 +02:00
Nikhita Raghunath
f039c31a9e sample-controller: add note about fetching deps in README 2019-07-12 11:43:02 +05:30
Nikhita Raghunath
391da79abd Fix scripts to not rely on codegen scripts being executable
If someone doesn't have code-generator in their GOPATH, they'll need to
run `go mod vendor` to populate the vendor directory with the code-generator
repo (it is required by `hack/tools.go`).

However, `go mod vendor` does not mark scripts as executable which leads to a
`Permission denied` error while trying to run `update-codegen.sh` in staging repos.
So fix scripts to not rely on codegen scripts being executable.
2019-07-12 11:43:02 +05:30
Kubernetes Prow Robot
7e17aeb1b5 Merge pull request #74416 from sttts/sttts-apiserver-minimum-shutdown-duration
apiserver: add --shutdown-delay-duration to keep serving until LBs stop sending traffic
2019-07-11 18:33:09 -07:00
Kubernetes Prow Robot
3dd8add5d2 Merge pull request #79549 from liggitt/admission-webhooks-v1
Promote admission webhook API to v1
2019-07-11 17:01:34 -07:00
Kubernetes Prow Robot
c302da4f42 Merge pull request #79077 from yuyulei/remove-ratelimiter
add "burst" validation check to code-generator
2019-07-11 17:01:20 -07:00
Kubernetes Prow Robot
1c99825adf Merge pull request #79566 from sukeesh/auditlog
Cleanup: Audit log and error capitalization
2019-07-11 14:33:59 -07:00
Kubernetes Prow Robot
91b26341f4 Merge pull request #78742 from smarterclayton/client_gc
The garbage collector and quota counter should use the metadata client and protobuf to access resources
2019-07-11 14:33:33 -07:00
David Zhu
93d6356d2f Fixes mount/unmount paths for migrated inline volumes. Some minor fixes for GCE specific inline migrated volumes 2019-07-11 11:51:43 -07:00
Kubernetes Prow Robot
1ae236cc0a Merge pull request #79981 from andyzhangx/azure-public
chore: make some func as public in azure provider
2019-07-11 10:08:54 -07:00
Clayton Coleman
98d87a4f03 Rename metadata.NewConfigOrDie to be consistent
Updated name to match dynamic client
2019-07-11 12:18:51 -04:00
yaqi
aa71695be1 execute hack/update-codegen.sh, sync updates 2019-07-11 20:34:59 +08:00
yaqi
b3d8d79e9a add check when qps > 0 but burst <=0 2019-07-11 20:34:46 +08:00
Kubernetes Prow Robot
ab960c612c Merge pull request #80007 from liggitt/populate-version-authorization-check
Populate API version in synthetic authorization requests
2019-07-10 22:59:07 -07:00
Kubernetes Prow Robot
4c68fa8243 Merge pull request #79239 from apelisse/400-instead-of-500
Return 400 on invalid patch requests
2019-07-10 21:39:20 -07:00
andyzhangx
b3f4a034f1 chore: make some func as public in azure provider
fix comments
2019-07-11 03:36:19 +00:00
Himanshu Pandey
a5eedcde61 Added custom error message when wrong file is provided with KUBECONFIG (#78185)
* Added custom error message when wrong file is provided with KUBECONFIG

* Modified test case

* Updated the code to warn the missing files

* Renamed the variable
2019-07-10 20:24:54 -07:00
Kubernetes Prow Robot
1974ebdcc9 Merge pull request #79505 from tedyu/deploy-new-rs
Remove unnecessay call to findNewReplicaSet
2019-07-10 18:49:19 -07:00
Kubernetes Prow Robot
ca6cc69bd4 Merge pull request #78744 from smarterclayton/client_ns
Update namespace controller to use the metadata client
2019-07-10 18:48:53 -07:00
Jordan Liggitt
2899abb65c Populate API version in synthetic authorization requests 2019-07-10 21:29:25 -04:00
Kubernetes Prow Robot
7b9afe00f1 Merge pull request #79998 from yastij/owners-events
add wojtek-t and yastij as approvers/reviewers for events package
2019-07-10 16:25:18 -07:00
Antoine Pelisse
7e96438748 Return 400 on invalid patch requests 2019-07-10 15:22:10 -07:00
Jordan Liggitt
b15aed6409 Generated 2019-07-10 17:38:09 -04:00
Jordan Liggitt
6c3891a25f Remove default admissionReviewVersions in v1, make required in validation 2019-07-10 17:38:09 -04:00
Jordan Liggitt
9dcc722d2e Remove default sideEffects in v1, make required in validation 2019-07-10 17:38:08 -04:00
Jordan Liggitt
7543b2ef55 Change default timeout to 10 seconds 2019-07-10 17:38:08 -04:00
Jordan Liggitt
08433067c3 Change default matchPolicy to Equivalent in v1 2019-07-10 17:38:08 -04:00
Kubernetes Prow Robot
e2b21c8a7c Merge pull request #79946 from apelisse/add-apply-benchmarks
Add benchmarks for FieldManager handling
2019-07-10 13:58:28 -07:00
Yassine TIJANI
a2994a296e add wojtek-t and yastij as approvers/reviewers for events package
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-10 21:41:04 +02:00
Clayton Coleman
bc89c37f32 Add fake client, informer factory, and lister to metadata client
These will be used by the garbage collector controller and others that
use higher level primitives.
2019-07-10 14:31:18 -04:00
Clayton Coleman
baf091e9db Fake ObjectReaction should handle PartialObjectMetadata special
When a client requests a PartialObjectMetadata returned from the
ObjectReaction type, if the object has a GVK set use that instead
of what the schema returns, since the majority of clients getting
partial object metadata will be doing so using the metadata client
or server side conversion.
2019-07-10 14:31:14 -04:00
Kubernetes Prow Robot
69c9467124 Merge pull request #78470 from nikhita/security-contacts-psc
Update SECURITY_CONTACTS with current PSC
2019-07-09 16:16:26 -07:00
Antoine Pelisse
92cf3764f9 Add benchmarks for FieldManager handling
We don't have a lot of data on allocations and how much time it takes to
run apply or update on objects, so adding some benchmark will help us
investigate possible improvements.
2019-07-09 15:59:58 -07:00
Kubernetes Prow Robot
df346787d2 Merge pull request #79932 from oke-py/leading-slash
kubectl book: added a leading slash to apis path
2019-07-09 13:47:16 -07:00
Kubernetes Prow Robot
5625eadd2a Merge pull request #72416 from liggitt/watch-event-type
Include event type in `kubectl get -w` output
2019-07-09 13:46:24 -07:00
Dr. Stefan Schimanski
408f36b882 apiserver: add --shutdown-delay-duration to keep serving until LBs stop serving traffic 2019-07-09 22:09:44 +02:00
Kubernetes Prow Robot
b130ff4502 Merge pull request #79724 from deads2k/update-raw
make kubectl --raw consistent for create, update, get, delete
2019-07-09 08:26:17 -07:00
Kubernetes Prow Robot
c88bda6a20 Merge pull request #78601 from loqutus/aws-encrypted-check-exponential-backoff
change aws encryptedCheck to exponential backoff
2019-07-09 08:26:04 -07:00