UNPKG

kubernetes-models

Version:
29 lines (28 loc) 646 B
import { register } from "@kubernetes-models/validate"; const schema = { "properties": { "fsType": { "type": "string", "nullable": true }, "partition": { "format": "int32", "type": "integer", "nullable": true }, "readOnly": { "type": "boolean", "nullable": true }, "volumeID": { "type": "string" } }, "required": [ "volumeID" ], "type": "object" }; export function addSchema() { register("io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource", schema); }