UNPKG

kubernetes-models

Version:
25 lines (24 loc) 499 B
import { register } from "@kubernetes-models/validate"; const schema = { "properties": { "key": { "type": "string" }, "mode": { "format": "int32", "type": "integer", "nullable": true }, "path": { "type": "string" } }, "required": [ "key", "path" ], "type": "object" }; export function addSchema() { register("io.k8s.api.core.v1.KeyToPath", schema); }