UNPKG

kubernetes-models

Version:
28 lines (27 loc) 608 B
import { register } from "@kubernetes-models/validate"; const schema = { "properties": { "endpoints": { "type": "string" }, "endpointsNamespace": { "type": "string", "nullable": true }, "path": { "type": "string" }, "readOnly": { "type": "boolean", "nullable": true } }, "required": [ "endpoints", "path" ], "type": "object" }; export function addSchema() { register("io.k8s.api.core.v1.GlusterfsPersistentVolumeSource", schema); }