kubernetes/pkg/api
Kubernetes Submit Queue d7965e9331 Merge pull request #51197 from deads2k/api-02-field-default
Automatic merge from submit-queue (batch tested with PRs 51114, 51233, 51024, 51053, 51197)

default field selectors

We have a lot of code around field selectors that doesn't add much value. Every gettable resources probably wants name and namespace by default and since they all use metav1 (today), we can assign that as a default. If we think we'll always have metav1 style name and namespace, then this makes a reasonable default and you can always set something different.

This removes cruft and avoids the risk of accidentally forgetting a field selector.  

@kubernetes/sig-api-machinery-misc @smarterclayton
2017-08-25 06:22:20 -07:00
..
endpoints Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
events Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
fuzzer fix fuzzer for hostpath type that the path can be an empty string 2017-08-24 17:24:04 +08:00
helper OIR predicate includes namespaced resources. 2017-08-16 15:29:24 -07:00
install Merge pull request #50094 from sttts/sttts-no-importprefix 2017-08-14 12:14:55 -07:00
persistentvolume refactor CephFS PV spec to use SecretReference 2017-08-24 18:49:05 +00:00
pod Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
ref Merge pull request #50204 from smarterclayton/move_list_to_metav1 2017-08-16 02:50:26 -07:00
resource Replace hard-code "cpu" and "memory" to consts 2017-08-16 16:37:50 +08:00
service Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
testapi Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
testing Generated StorageClass.ReclaimPolicy code 2017-08-14 13:36:58 -04:00
unversioned Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
util Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
v1 Merge pull request #51197 from deads2k/api-02-field-default 2017-08-25 06:22:20 -07:00
validation refactor CephFS PV spec to use SecretReference 2017-08-24 18:49:05 +00:00
annotation_key_constants.go mark created-by annotation as deprecated 2017-08-15 17:08:07 -07:00
BUILD Merge pull request #41901 from soltysh/cronjobs_beta 2017-08-16 15:59:46 -07:00
conversion_test.go Unify fuzzers and roundtrip tests 2017-07-20 12:31:00 +02:00
copy_test.go Unify fuzzers and roundtrip tests 2017-07-20 12:31:00 +02:00
deep_copy_test.go Remove the temporary fix for pre-1.0 mirror pods 2017-02-02 10:37:19 -08:00
defaulting_test.go Merge pull request #47987 from wongma7/reclaimpolicy 2017-08-17 01:32:18 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
field_constants.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
json.go Change taint/toleration annotations to api fields. 2017-02-22 09:27:42 -05:00
meta_test.go API 2017-02-28 23:05:40 -08:00
node_example.json Change minion to node 2016-09-28 10:53:30 -07:00
objectreference.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
OWNERS Add liggitt as an API approver. Note that bgrant0607 is an approver, but 2017-08-23 11:32:05 -07:00
register.go Dynamic Kubelet Configuration 2017-08-08 12:21:37 -07:00
replication_controller_example.json Initial Quobyte support 2016-08-18 17:13:50 +02:00
resource.go Add ephemeral local storage resource name first 2017-08-22 13:53:37 +08:00
serialization_proto_test.go Unify fuzzers and roundtrip tests 2017-07-20 12:31:00 +02:00
serialization_test.go Revert "Merge pull request #51008 from kubernetes/revert-50789-fix-scheme" 2017-08-21 11:28:05 -07:00
taint.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
taint_test.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
toleration.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
types.go refactor CephFS PV spec to use SecretReference 2017-08-24 18:49:05 +00:00
unstructured_test.go Unify fuzzers and roundtrip tests 2017-07-20 12:31:00 +02:00
zz_generated.deepcopy.go generated files 2017-08-24 18:59:08 +00:00