k3s/pkg/apis
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
..
abac Switch API objects to not register per version codecs 2016-01-22 01:10:21 -05:00
apps It's 2016, yo. 2016-05-13 12:41:40 -07:00
authentication.k8s.io It's 2016, yo. 2016-05-13 12:41:40 -07:00
authorization It's 2016, yo. 2016-05-13 12:41:40 -07:00
autoscaling It's 2016, yo. 2016-05-13 12:41:40 -07:00
batch It's 2016, yo. 2016-05-13 12:41:40 -07:00
componentconfig Merge pull request #25163 from derekwaynecarr/pod-eviction-grace-period-flag 2016-05-13 16:17:27 -07:00
extensions Merge pull request #25007 from liggitt/third-party-resource-validation 2016-05-15 03:38:29 -07:00
metrics It's 2016, yo. 2016-05-13 12:41:40 -07:00
policy Finish implementing policy API. 2016-05-13 17:27:58 -07:00
rbac It's 2016, yo. 2016-05-13 12:41:40 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00