kubernetes-models
Version:
36 lines (35 loc) • 763 B
JavaScript
import { register } from "@kubernetes-models/validate";
const schema = {
"properties": {
"group": {
"type": "string",
"nullable": true
},
"readOnly": {
"type": "boolean",
"nullable": true
},
"registry": {
"type": "string"
},
"tenant": {
"type": "string",
"nullable": true
},
"user": {
"type": "string",
"nullable": true
},
"volume": {
"type": "string"
}
},
"required": [
"registry",
"volume"
],
"type": "object"
};
export function addSchema() {
register("io.k8s.api.core.v1.QuobyteVolumeSource", schema);
}