fixing toleration fields requirements (#1797)

Signed-off-by: Ildar Valiullin <preved.911@gmail.com>
This commit is contained in:
preved911
2022-03-21 16:05:45 +01:00
committed by GitHub
parent a020708ef1
commit 38db48c7f0
3 changed files with 1 additions and 10 deletions
@@ -532,10 +532,6 @@ spec:
type: array
items:
type: object
required:
- key
- operator
- effect
properties:
key:
type: string
-4
View File
@@ -530,10 +530,6 @@ spec:
type: array
items:
type: object
required:
- key
- operator
- effect
properties:
key:
type: string
+1 -2
View File
@@ -798,8 +798,7 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
Type: "array",
Items: &apiextv1.JSONSchemaPropsOrArray{
Schema: &apiextv1.JSONSchemaProps{
Type: "object",
Required: []string{"key", "operator", "effect"},
Type: "object",
Properties: map[string]apiextv1.JSONSchemaProps{
"key": {
Type: "string",