mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Expand cmd tests of modifying schema-declaring custom resources
This commit is contained in:
		@@ -45,8 +45,22 @@ run_crd_tests() {
 | 
			
		||||
        "storage": true,
 | 
			
		||||
        "schema": {
 | 
			
		||||
          "openAPIV3Schema": {
 | 
			
		||||
            "x-kubernetes-preserve-unknown-fields": true,
 | 
			
		||||
            "type": "object"
 | 
			
		||||
            "type": "object",
 | 
			
		||||
            "properties": {
 | 
			
		||||
              "metadata": {"type": "object"},
 | 
			
		||||
              "nestedField": {
 | 
			
		||||
                "type": "object",
 | 
			
		||||
                "properties": {
 | 
			
		||||
                  "someSubfield": {"type": "string"},
 | 
			
		||||
                  "otherSubfield": {"type": "string"},
 | 
			
		||||
                  "newSubfield": {"type": "string"}
 | 
			
		||||
                }
 | 
			
		||||
              },
 | 
			
		||||
              "otherField": {"type": "string"},
 | 
			
		||||
              "someField": {"type": "string"},
 | 
			
		||||
              "newField": {"type": "string"},
 | 
			
		||||
              "patched": {"type": "string"}
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user