UNPKG

kubernetes-models

Version:
32 lines (31 loc) 683 B
import { register } from "@kubernetes-models/validate"; const schema = { "properties": { "apiGroup": { "type": "string", "nullable": true }, "kind": { "type": "string" }, "name": { "type": "string" }, "namespace": { "type": "string", "nullable": true }, "scope": { "type": "string", "nullable": true } }, "required": [ "kind", "name" ], "type": "object" }; export function addSchema() { register("io.k8s.api.networking.v1.IngressClassParametersReference", schema); }