extend CRD map and set validation

This commit is contained in:
Elijah Oyekunle
2020-02-28 16:00:59 +01:00
parent 7587ab3ef3
commit 2e187415fd
4 changed files with 785 additions and 5 deletions

View File

@@ -191,12 +191,12 @@ func TestApplyCRDStructuralSchema(t *testing.T) {
"type": "string"
},
"protocol": {
"type": "string",
"nullable": true
"type": "string"
}
},
"required": [
"containerPort"
"containerPort",
"protocol"
],
"type": "object"
}