fixing toleration fields requirements (#1797)
Signed-off-by: Ildar Valiullin <preved.911@gmail.com>
This commit is contained in:
		
							parent
							
								
									a020708ef1
								
							
						
					
					
						commit
						38db48c7f0
					
				|  | @ -532,10 +532,6 @@ spec: | |||
|                 type: array | ||||
|                 items: | ||||
|                   type: object | ||||
|                   required: | ||||
|                     - key | ||||
|                     - operator | ||||
|                     - effect | ||||
|                   properties: | ||||
|                     key: | ||||
|                       type: string | ||||
|  |  | |||
|  | @ -530,10 +530,6 @@ spec: | |||
|                 type: array | ||||
|                 items: | ||||
|                   type: object | ||||
|                   required: | ||||
|                     - key | ||||
|                     - operator | ||||
|                     - effect | ||||
|                   properties: | ||||
|                     key: | ||||
|                       type: string | ||||
|  |  | |||
|  | @ -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", | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue