Commit Graph

5966 Commits

Author SHA1 Message Date
Haowei Cai
df1ee5e778 generated 2019-03-13 15:16:50 -07:00
Kubernetes Prow Robot
e7d09ceb50 Merge pull request #75289 from dims/update-http2-dep-go-1.12
Update golang.org/x/net/... dependencies to release-branch.go1.12
2019-03-13 04:33:46 -07:00
Kubernetes Prow Robot
93402fc8e8 Merge pull request #75277 from jennybuckley/fix-ints
Fix server side apply int/float bug
2019-03-12 17:36:40 -07:00
Kubernetes Prow Robot
cc8afb25fc Merge pull request #74040 from ajatprabha/issue_73648
add ResourceVersion to DeleteOptions.Preconditions
2019-03-12 15:44:38 -07:00
Kubernetes Prow Robot
0977ab69ad Merge pull request #75157 from aaron-prindle/version-check-apply
Added version check between patch and live object in server side apply
2019-03-12 13:19:06 -07:00
Davanum Srinivas
2aa1348e6c Update to go 1.12 version of golang.org/x/net
Change-Id: I3f2fa5d7b6811c9eca58992318d19e44ec9131fd
2019-03-12 11:30:24 -04:00
Prasad Ghangal
317ecf58cc Update golang.org/x/net/... dependencies to release-branch.go1.11
- latest grpc-ecosystem/go-grpc-middleware

Change-Id: Ida7d01e4606f6e0313e1355db6e85be0c0ef1dd1
2019-03-12 09:48:52 -04:00
ajatprabha
4bd0c4ad56 update generated-protobuf 2019-03-12 17:00:42 +05:30
ajatprabha
c2755f6685 update generated-swagger-docs 2019-03-12 17:00:42 +05:30
ajatprabha
fe3b9f486f update testDeleteWithResourceVersion 2019-03-12 17:00:41 +05:30
ajatprabha
4ddc198c39 pin ResourceVersion precondition only when specified 2019-03-12 17:00:41 +05:30
ajatprabha
3135cea2cc add ResourceVersion check to Preconditions#Check 2019-03-12 17:00:40 +05:30
ajatprabha
64ecf9de7f update deepcopy function 2019-03-12 17:00:40 +05:30
ajatprabha
42f0a36f44 check for ResourceVersion conflict in separate if block 2019-03-12 17:00:39 +05:30
ajatprabha
8f48d76271 add ResourceVersion to DeleteOptions.Preconditions 2019-03-12 17:00:39 +05:30
jennybuckley
10259c959e Fix int/float apply bug 2019-03-11 23:07:21 -07:00
Aaron Prindle
d5bd17cda0 Added version check between patch and live object in server side apply
What is the problem being solved?
https://github.com/kubernetes/kubernetes/pull/75135
Currently version compatibility is not being checked in server side apply between the patch object and the live object.  This is causing a merge that will error to be run and the apiserver returns a 500 error.  The request should fail if the apiVersion provided in the object is different from the apiVersion in the url, but it should fail before trying to merge, and be a 4xx error. Probably a bad request error.

Why is this the best approach?
The approach of serializing the patch byte array and then checking for version equality with the already serialized live object is the simplest and most straightforward solution.
2019-03-11 22:08:30 -07:00
Chao Xu
887cb93d8d generated BUILD
generated proto
2019-03-11 10:26:56 -07:00
Chao Xu
0ace8b3da4 Let the sample apiserver show feature gates flag 2019-03-11 10:26:56 -07:00
Chao Xu
3b618af0d4 Expose storage version hash 2019-03-11 10:26:56 -07:00
Kubernetes Prow Robot
44e369b000 Merge pull request #75167 from tnozicka/fix-retry-watcher-error
Handle unstructured status in RetryWatcher
2019-03-11 05:17:27 -07:00
jennybuckley
f9e57744d3 Fix version converter 2019-03-08 22:35:33 -08:00
Antoine Pelisse
92d8b19c0f Generated files 2019-03-08 16:55:53 -08:00
Antoine Pelisse
eb904d8fa8 Add "fieldManager" to flag to PATCH/CREATE/UPDATE
And add a corresponding flag in kubectl (for apply), even though the
value is defaulted in kubectl with "kubectl".

The flag is required for Apply patch-type, and optional for other PATCH,
CREATE and UPDATE (in which case we fallback on the user-agent).
2019-03-08 16:03:03 -08:00
Kubernetes Prow Robot
8bde75e63f Merge pull request #75201 from joelsmith/secdoc
Update embargo doc link in SECURITY_OWNERS and change PST to PSC
2019-03-08 15:41:36 -08:00
Kubernetes Prow Robot
81e8401127 Merge pull request #74997 from jennybuckley/apply-metrics
Track dry-run and apply in metrics
2019-03-08 15:40:58 -08:00
Kubernetes Prow Robot
8634ebed22 Merge pull request #75075 from kwiesmueller/fix-fieldmanager-sorting
fix handling of nil times in managedFields sorting
2019-03-08 14:19:21 -08:00
Kubernetes Prow Robot
349ce4c312 Merge pull request #74376 from mbohlool/gimli
Add latency metric for CR Webhook Conversion
2019-03-08 14:18:54 -08:00
Joel Smith
7fd6ea47e8 Also update SECURITY_CONTACTS from staging 2019-03-08 11:23:24 -07:00
Vladimir Vivien
d998fc8f0f CSI Inline Volume - Generated files 2019-03-08 12:39:58 -05:00
Vladimir Vivien
4ec7d2305d CSI Inline Volume - API changes 2019-03-08 12:35:07 -05:00
Mehdy Bohlool
18be830680 update generated files 2019-03-08 08:34:12 -08:00
Mehdy Bohlool
b62c8bca7a Add latency metric for CR Webhook Conversion 2019-03-08 08:34:12 -08:00
Mehdy Bohlool
094eb614fe Refactor CR converter code to share code between nopConverter and webhookConverter 2019-03-08 08:33:25 -08:00
Kubernetes Prow Robot
f229aa0ad6 Merge pull request #75044 from errordeveloper/move-cli-runtime-subpackages
Move printers & resources packages
2019-03-08 05:43:26 -08:00
Kubernetes Prow Robot
e318642946 Merge pull request #74998 from mbohlool/pippin
Webhook configurations can choose which version of Review request they accept
2019-03-08 03:01:26 -08:00
Tomas Nozicka
8302b5b262 Handle unstructured status in RetryWatcher 2019-03-08 09:34:56 +01:00
Kubernetes Prow Robot
183e6cc190 Merge pull request #74433 from tallclair/runtimeclass-internal
Migrate RuntimeClass from a CRD to an internal API
2019-03-07 21:19:30 -08:00
Mehdy Bohlool
cbe00023c0 Update generated files 2019-03-07 21:00:29 -08:00
Mehdy Bohlool
9b28b915f5 Add ConversionReviewVersions to CustomResourceDefinitionSpec and defdefault it to v1beta1 2019-03-07 21:00:28 -08:00
David Zhu
41b3579345 Address review comments 2019-03-07 17:17:09 -08:00
jennybuckley
6e512eb875 Feature-gate the APPLY metric value 2019-03-07 15:14:43 -08:00
Mehdy Bohlool
f7dff4725f Add AdmissionReviewVersions to admissionregistration and default it 2019-03-07 15:02:16 -08:00
Ilya Dmitrichenko
6d7a9048b6 Move printers & resources packages
These packages deserve to live at the top level of `k8s.io/cli-runtime`,
as they are potentially of wider use than genericclioptions.
2019-03-07 23:00:24 +00:00
David Zhu
7d2f4e97b8 Add ADC Fallback if Node doesn't have driver installed 2019-03-07 14:47:38 -08:00
jennybuckley
077dd28df4 use utilsets.NewString 2019-03-07 14:20:10 -08:00
Tim Allclair
428e9fa329 generated files 2019-03-07 11:57:12 -08:00
Tim Allclair
820a1dc96b Add node.k8s.io/v1beta1 API 2019-03-07 11:57:12 -08:00
Tim Allclair
63f61a6714 Migrate RuntimeClass to internal API 2019-03-07 11:07:54 -08:00
Kubernetes Prow Robot
f8024ab087 Merge pull request #74904 from sttts/sttts-proto-tests
Rework proto generation scripts and add tests
2019-03-07 10:58:05 -08:00