UNPKG

kubernetes-models

Version:
36 lines (35 loc) 772 B
import { register } from "@kubernetes-models/validate"; const schema = { "properties": { "mountPath": { "type": "string" }, "mountPropagation": { "type": "string", "nullable": true }, "name": { "type": "string" }, "readOnly": { "type": "boolean", "nullable": true }, "subPath": { "type": "string", "nullable": true }, "subPathExpr": { "type": "string", "nullable": true } }, "required": [ "name", "mountPath" ], "type": "object" }; export function addSchema() { register("io.k8s.api.core.v1.VolumeMount", schema); }