Update custom-resource-definitions.md
The example on line 746-754, should has an image tag; with the image tag, the validation will fail with the error "validating data: ValidationError(CronTab.spec): unknown field "image"". Solution : Adding the image field on the CustomResourceDefinitions.pull/22822/head
parent
310b4a8f54
commit
1c76afc2bc
|
@ -673,6 +673,8 @@ spec:
|
||||||
cronSpec:
|
cronSpec:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$'
|
pattern: '^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$'
|
||||||
|
image:
|
||||||
|
type: string
|
||||||
replicas:
|
replicas:
|
||||||
type: integer
|
type: integer
|
||||||
minimum: 1
|
minimum: 1
|
||||||
|
@ -720,6 +722,8 @@ spec:
|
||||||
cronSpec:
|
cronSpec:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$'
|
pattern: '^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$'
|
||||||
|
image:
|
||||||
|
type: string
|
||||||
replicas:
|
replicas:
|
||||||
type: integer
|
type: integer
|
||||||
minimum: 1
|
minimum: 1
|
||||||
|
|
Loading…
Reference in New Issue