UNPKG

kubernetes-models

Version:
40 lines (39 loc) 920 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@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" }; function addSchema() { (0, validate_1.register)("io.k8s.api.core.v1.VolumeMount", schema); } exports.addSchema = addSchema;