mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Expand cmd tests of modifying schema-declaring custom resources
This commit is contained in:
parent
2afad7cc76
commit
7de6100dae
@ -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"}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user