• k8s-merge-robot's avatar
    Merge pull request #25007 from liggitt/third-party-resource-validation · 272674b2
    k8s-merge-robot authored
    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
    272674b2
Name
Last commit
Last update
..
cachesize Loading commit data...
componentstatus Loading commit data...
configmap Loading commit data...
controller Loading commit data...
daemonset Loading commit data...
deployment Loading commit data...
endpoint Loading commit data...
event Loading commit data...
experimental/controller/etcd Loading commit data...
generic Loading commit data...
horizontalpodautoscaler Loading commit data...
ingress Loading commit data...
job Loading commit data...
limitrange Loading commit data...
namespace Loading commit data...
node Loading commit data...
persistentvolume Loading commit data...
persistentvolumeclaim Loading commit data...
petset Loading commit data...
pod Loading commit data...
poddisruptionbudget Loading commit data...
podsecuritypolicy Loading commit data...
podtemplate Loading commit data...
registrytest Loading commit data...
replicaset Loading commit data...
resourcequota Loading commit data...
secret Loading commit data...
service Loading commit data...
serviceaccount Loading commit data...
thirdpartyresource Loading commit data...
thirdpartyresourcedata Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...