UNPKG

kubernetes-models

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