UNPKG

kubernetes-models

Version:
53 lines (52 loc) 1.23 kB
import { register } from "@kubernetes-models/validate"; const schema = { "properties": { "extra": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "type": "object", "nullable": true }, "groups": { "items": { "type": "string" }, "type": "array", "nullable": true }, "request": { "format": "byte", "type": "string" }, "signerName": { "type": "string", "nullable": true }, "uid": { "type": "string", "nullable": true }, "usages": { "items": { "type": "string" }, "type": "array", "nullable": true }, "username": { "type": "string", "nullable": true } }, "required": [ "request" ], "type": "object" }; export function addSchema() { register("io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec", schema); }