kubernetes/pkg/registry
k8s-merge-robot 272674b2a6 Merge pull request #25007 from liggitt/third-party-resource-validation
Automatic merge from submit-queue

validate third party resources

addresses validation portion of https://github.com/kubernetes/kubernetes/issues/22768

* ThirdPartyResource: validates name (3 segment DNS subdomain) and version names (single segment DNS label)
* ThirdPartyResourceData: validates objectmeta (name is validated as a DNS label)
* removes ability to use GenerateName with thirdpartyresources (kind and api group should not be randomized, in my opinion)

test improvements:
* updates resttest to clean up after create tests (so the same valid object can be used)
* updates resttest to take a name generator (in case "foo1" isn't a valid name for the object under test)

action required for alpha thirdpartyresource users:
* existing thirdpartyresource objects that do not match these validation rules will need to be removed/updated (after removing thirdpartyresourcedata objects stored under the disallowed versions, kind, or group names)
* existing thirdpartyresourcedata objects that do not match the name validation rule will not be able to be updated, but can be removed
2016-05-15 03:38:29 -07:00
..
cachesize Finish implementing policy API. 2016-05-13 17:27:58 -07:00
componentstatus Refactor diff into sub pkg 2016-03-21 20:21:39 +08:00
configmap In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
controller Fix the rest of the code 2016-04-29 17:12:10 -04:00
daemonset In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
deployment Fix the rest of the code 2016-04-29 17:12:10 -04:00
endpoint In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
event In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
experimental/controller/etcd Fix the rest of the code 2016-04-29 17:12:10 -04:00
generic Split the storage and negotiation parts of Codecs 2016-05-05 12:08:23 -04:00
horizontalpodautoscaler Move internal types of hpa from pkg/apis/extensions to pkg/apis/autoscaling 2016-05-09 09:18:13 +02:00
ingress In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
job Fix the rest of the code 2016-04-29 17:12:10 -04:00
limitrange In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
namespace Validate deletion timestamp doesn't change on update 2016-04-28 11:50:48 -04:00
node Fix the rest of the code 2016-04-29 17:12:10 -04:00
persistentvolume fix PrepareForUpdate bug for PV and PVC 2016-04-28 19:13:02 +08:00
persistentvolumeclaim fix PrepareForUpdate bug for PV and PVC 2016-04-28 19:13:02 +08:00
petset PetSet alpha controller 2016-05-04 18:39:17 -07:00
pod Merge pull request #24459 from fgrzadkowski/unschedulable_pod 2016-05-12 05:54:06 -07:00
poddisruptionbudget Finish implementing policy API. 2016-05-13 17:27:58 -07:00
podsecuritypolicy PSP types 2016-05-11 18:07:35 -04:00
podtemplate In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
registrytest Remove name generation from thirdpartyresource 2016-05-09 09:27:54 -04:00
replicaset Fix the rest of the code 2016-04-29 17:12:10 -04:00
resourcequota In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
secret In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
service Fix the rest of the code 2016-04-29 17:12:10 -04:00
serviceaccount In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
thirdpartyresource Remove name generation from thirdpartyresource 2016-05-09 09:27:54 -04:00
thirdpartyresourcedata Change ConvertToVersion to use GroupVersion 2016-05-12 10:10:35 -04:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00