UNPKG

kubernetes-models

Version:
22 lines (21 loc) 636 B
import { register } from "@kubernetes-models/validate"; import { addSchema as IoK8sApiCoreV1ConfigMapNodeConfigSource } from "./IoK8sApiCoreV1ConfigMapNodeConfigSource.mjs"; const schema = { "properties": { "configMap": { "oneOf": [ { "$ref": "io.k8s.api.core.v1.ConfigMapNodeConfigSource#" }, { "type": "null" } ] } }, "type": "object" }; export function addSchema() { IoK8sApiCoreV1ConfigMapNodeConfigSource(); register("io.k8s.api.core.v1.NodeConfigSource", schema); }