Expand cmd tests of modifying schema-declaring custom resources

This commit is contained in:
Jordan Liggitt 2022-04-03 22:15:45 -04:00
parent 2afad7cc76
commit 7de6100dae

View File

@ -45,8 +45,22 @@ run_crd_tests() {
"storage": true, "storage": true,
"schema": { "schema": {
"openAPIV3Schema": { "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"}
}
} }
} }
} }