Merge pull request #69550 from tallclair/runtimeclass-spec

Allow an empty "" runtimeHandler
This commit is contained in:
k8s-ci-robot 2018-10-09 01:06:20 -07:00 committed by GitHub
commit 4ba5db087a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,4 +23,4 @@ spec:
properties:
runtimeHandler:
type: string
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$'
pattern: '^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)?$'