Roy Lenferink
4c9524b9fb
Updated OWNERS files to include link to docs
...
Kubernetes-commit: b43c04452f3b563473b5c2a765d4ac18cc0ff58f
2019-01-30 20:05:00 +01:00
Antoine Pelisse
337fc9ccde
API Machinery, Kubectl and tests
...
Kubernetes-commit: 0e1d50e70fdc9ed838d75a7a1abbe5fa607d22a1
2019-01-16 21:14:42 -08:00
Jordan Liggitt
d1d4d76560
mark metadata.initializers as deprecated
...
Kubernetes-commit: 047ecae1f445ed0f6ea7595c40122362444952a4
2019-01-17 09:20:30 -05:00
Jordan Liggitt
80029a760c
Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options
...
Kubernetes-commit: 17aa60686ebe5fd04b4fe6f442dc36a8d70b6730
2019-01-17 09:19:28 -05:00
xichengliudui
92cd1a54fc
Remove excess 'in'
...
Fix some typo
Fix some typo
Kubernetes-commit: ef496320cf6ba73f118fc285691043a87ae05727
2018-10-11 00:52:39 -04:00
Nikhita Raghunath
4c15aa6ed8
Prevent resource version to custom resource on no-op writes
...
For ObjectMeta pruning, we round trip through marshalling and
unmarshalling. If the ObjectMeta contained any strings with "" (or other
fields with empty values) _and_ the respective fields are omitempty,
those fields will be lost in the round trip process.
This makes ObjectMeta after the no-op write different from the one
before the write.
Resource version is incremented every time data is written to etcd.
Writes to etcd short-circuit if the bytes being written are identical
to the bytes already present. So this ends up incrementing the
resourceVersion even on no-op writes.
The zero values are set in BeforeCreate and BeforeUpdate. This commit
updates BeforeUpdate such that zero values are only set when the
object does not have a zero value for the respective field.
Kubernetes-commit: d691748aa64376e4b90ae2c01aca14d1be2b442c
2018-08-20 20:13:55 +05:30
Yu-Ju Hong
6b85aed1d6
apiserver: pass the parent request context when creating InputStream
...
This ensures that request cancellation will be propagated properly to
the client used to create the stream. Without this fix, the apiserver
and the kubelet may leak resources (e.g., goroutine, inotify watches).
One such example is that if user run `kubectl logs -f <container that
don't produce new logs)` and then enter ctrl-c, both kubelet and
apiserver will hold on to the connection and resources indefinitely.
Kubernetes-commit: 31d1607a514b62ef46452e402f5438d827314b98
2018-08-13 16:34:49 -07:00
Antoine Pelisse
c4bca20fbb
dry-run: Add resttests
...
Kubernetes-commit: f3b8e85a4e5719c22d35b922e82c7dff7b5982b0
2018-08-03 11:35:23 -07:00
Chao Xu
e1ccfa4e7d
Remove rest.ConnectRequest.
...
Make apiserver pass connectRequest.Options directly to the admission layer. All
the information in rest.ConnectRequest is present in admission attributes.
Kubernetes-commit: 355691d310803ea3a0cd8ff284a39ead38857602
2018-07-30 18:35:51 -07:00
jennybuckley
91278157f6
Support dry run in admission plugins
...
Kubernetes-commit: adafb1365e2b9f6c422c437e916e22a4fe1c2e3a
2018-08-06 10:37:44 -07:00
Antoine Pelisse
cc843478d7
dry-run: Create new options for Update/Create and pass it along
...
Kubernetes-commit: 03b1e14101a73706980b559b4b7069ea956c80bd
2018-06-14 09:14:59 -07:00
jennybuckley
621e8af54b
Allow override AllowCreateOnUpdate with new argument to Update
...
Kubernetes-commit: d10e08fc897f6b5e60ce2aa8420bd2ea536e18b8
2018-06-28 14:24:51 -07:00
Dr. Stefan Schimanski
4d53b026bc
Update generated files
...
Kubernetes-commit: f8de7cea406a8d01799c4b4d40b892f3b38fa534
2018-06-29 20:02:31 +02:00
Jordan Liggitt
5ea36f1aa3
Fix up legacy printer table adapter
...
Kubernetes-commit: 86c2158bb038f521b39e4c7902e5b34686b9d254
2018-06-07 13:20:04 -04:00
Dr. Stefan Schimanski
0b84708faa
apiextensions-apiserver: add columns to CRD spec
...
Kubernetes-commit: ecdc1638f6557d8d10d72ebc821e182ead2f0cdc
2018-03-09 18:47:53 +01:00
xuzhonghu
d6a18bbf53
remove request context.WithUID
...
Kubernetes-commit: 7ea612db162c65eca16a00b6b5cd83a93bd05b1d
2018-05-17 11:39:48 +08:00
Jordan Liggitt
5d3eda3ed6
Deprecate repair-malformed-updates flag, move object meta mutation into BeforeCreate
...
Kubernetes-commit: 7f840f4441957a6024f28262fafcde4696dac6c3
2018-03-21 01:20:34 -04:00
David Eads
b7f90743d0
remove rootscopedkinds from groupmeta
...
Kubernetes-commit: 8ae62517da5eff6d6bad21badfd39ee88463ad42
2018-04-30 13:27:01 -04:00
David Eads
14e43f49d6
rest mappings cannot logically be object converters
...
Kubernetes-commit: 6900f8856f8cd9a6c94a156b9e4a9fee0c16f807
2018-04-24 18:31:41 -04:00
Mike Danese
cd0258b4d7
replace request.Context with context.Context
...
Kubernetes-commit: 54fd2aaefd11e12a3ecb6d1a1326f04cdc8ea1a3
2018-04-24 08:10:34 -07:00
Cao Shufeng
2cb36e30a2
fix error message about DeleteOptions
...
Kubernetes-commit: c9aac2b2e0297ebb4e0b5425ad986069dd762e01
2018-01-02 19:24:32 +08:00
fisherxu
716af975eb
regenerated all files and remove all YEAR fields
...
Kubernetes-commit: b49ef6531c11f1c834e0d7591f5c965f6193c711
2018-01-22 20:37:53 +08:00
lcfang
39fbe7ba58
remove the outdated TODO
...
Kubernetes-commit: 9be76ec461e6bd2bddb5ab26b41b3ef5938e0791
2018-03-13 20:31:01 +08:00
Kubernetes Publisher
627fa76a8b
sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel
2018-03-15 09:38:17 +00:00
jennybuckley
9fa0aca343
Run hack/update-all.sh
...
Kubernetes-commit: c8dacd8e631f59ef158c79156d77a99fd2a632cc
2018-02-26 17:16:14 -08:00
Clayton Coleman
7b21554cfc
Make Service storage a wrapper around other storages
...
The registry abstraction is unnecessary and adds direct coupling to the
core types. By using a wrapper, we carry through the default
implementations of the non-mutating operations. The DeleteCollection
method is explicitly patched out since it cannot be correctly
implemented on the storage currently.
As a result, TableConvertor is now exposed.
A few other minor refactorings
* Corrected the case of some variables
* Used functions instead of methods for several helper methods
* Removed the legacy Deleter - service was the only remaining consumer
Kubernetes-commit: 110b064d630ca39220696225dd597e7d33b95f4f
2018-02-04 22:38:39 -05:00
Jeff Grafton
1ab12b2dc8
Autogenerated: hack/update-bazel.sh
...
Kubernetes-commit: ef56a8d6bb3800ab7803713eafc4191e8202ad6e
2018-02-16 13:43:01 -08:00
Timothy St. Clair
b04a226adf
Remove myself (timothysc) from OWNERS files on areas that I do not
...
actively maintain.
Kubernetes-commit: da77826d085814f753af8dc4a24b24f41aded74a
2018-02-12 18:56:41 -06:00
Clayton Coleman
f688fbc3b2
Promote v1alpha1 meta to v1beta1
...
No code changes, just renames
Kubernetes-commit: d07a608607e1f4d252003c17cd615652574a0823
2018-01-30 13:30:57 -05:00
Christoph Blecker
e0f0630269
Regenerate all generated code
...
Kubernetes-commit: 80e344644e2b6222296f2f03551a8d0273c7cbce
2018-01-02 00:21:07 -08:00
Jeff Grafton
c8a97ee31a
Autogenerate BUILD files
...
Kubernetes-commit: efee0704c60a2ee3049268a41535aaee7f661f6c
2017-12-23 13:06:26 -08:00
yuexiao-wang
46f7a60026
wrong number of args in apiserver/pkg
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Kubernetes-commit: 235df842fafe21fe90f5691ca5eb1ab775fbe54d
2017-11-24 10:01:54 +08:00
Di Xu
ed8f1885d6
change DefaultGarbageCollectionPolicy to DeleteDependents for workload controllers
...
Kubernetes-commit: 344fe56ed30c0b83ab0a01e3b1344ecea3925863
2017-11-06 17:12:57 +08:00
Dr. Stefan Schimanski
a10420dfa0
apiserver: remove unneeded scheme from registry tester
...
Kubernetes-commit: d4d53c0e2a0b42ba22e6ec64f6d38bb308e841b5
2017-11-17 19:46:12 +01:00
Clayton Coleman
9f9cf56bb6
Table printers and server generation should always copy ListMeta
...
Tables should be a mapping from lists, so if the incoming object has
these add them to the table. Allows paging over server side tables.
Add tests on the generic creater and on the resttest compatibility.
Kubernetes-commit: d2a62fd42234a96cbab2dbcf402c168c59b41784
2017-11-15 21:01:49 -05:00
Dr. Stefan Schimanski
563bb7b931
Update generated code
...
Kubernetes-commit: 1e79dfb959896f2e51be87ecef491452bd17724c
2017-11-09 12:27:20 +01:00
Dr. Stefan Schimanski
2e26d56a03
Update bazel
...
Kubernetes-commit: 35bb6823ea94c98622397f7cb270c6a67070e70d
2017-10-24 15:52:41 +02:00
Dr. Stefan Schimanski
45afa13373
admission: rename Validate{ -> Initialization}, Validat{ingAdmit -> e}
...
Kubernetes-commit: aedcf681b32618be3cf9ad40eeb039f1bb26c5ae
2017-10-27 17:09:39 +02:00
Dr. Stefan Schimanski
3eeded3a29
admission: wire create+update validation func into kube registries
...
Kubernetes-commit: 2452afffe09e1ced9487e5a701beb1443a92b741
2017-10-24 15:33:28 +02:00
Dr. Stefan Schimanski
441ac63056
admission: complete plumbing of validation admission
...
Kubernetes-commit: 74b4223ab80fa3bbf326ac1073ef28f0b8daa304
2017-10-24 14:08:34 +02:00
David Eads
a2e3d31f52
add wiring for validating admission
...
Kubernetes-commit: 02e16cb253f01303d71ad4e8d6aa578d1ab79c0a
2017-10-19 09:44:42 -04:00
Jordan Liggitt
8ea8479b92
Specify correct subresource discovery info
...
Kubernetes-commit: 729a0da155871de445ea2116cf6457e29e313d08
2017-10-27 04:22:39 -04:00
Jeff Grafton
f4dbe23125
update BUILD files
...
Kubernetes-commit: aee5f457dbfd70c2d15c33e392dce6a3ca710116
2017-10-12 13:52:10 -07:00
Dr. Stefan Schimanski
3cfc602704
apimachinery: mechanical removal of ObjectCopier plumbing
...
Kubernetes-commit: 509df603b18d356777176953e5d160b6f3d0bba9
2017-10-06 13:30:12 +02:00
Mike Danese
6d34454396
stop assigning satnam reviews
...
Kubernetes-commit: 9de1d1f57736fd6e5c45f7c41398de31073181cc
2017-10-02 18:11:25 -07:00
David Eads
56e7f5b9c2
expose discovery information on scalable resources
...
Kubernetes-commit: 65d0f188f68f6428ccc0a776adff496d972faa56
2017-09-03 14:04:14 +00:00
huangjiuyuan
ce838cffe4
modifying the comment of BeforeDelete function to improve readibility
...
Kubernetes-commit: 4ce3b6cf4f8486e4335d05d7f573ad1859c14ce8
2017-09-01 16:37:07 +00:00
Jordan Liggitt
8494697027
Feature gate initializers field
...
Kubernetes-commit: 658956f0631c6bd3ecf9f756db4a0710efea98ea
2017-08-29 13:18:50 +00:00
Clayton Coleman
d6c8c768c4
Make generic metadata conform to documented name column convention
...
Kubernetes-commit: e5857b1ec02514f06b82bf5833fcb87645732883
2017-08-29 13:18:48 +00:00
Clayton Coleman
e027d67a5f
Verify TableConversion behavior in resttest
...
Kubernetes-commit: 0b0235b48497c07cc6c8286167978b599d69b690
2017-08-29 13:18:48 +00:00