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

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])?)*)?$'