UNPKG

kubernetes-models

Version:
57 lines (56 loc) 1.37 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@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" }; function addSchema() { (0, validate_1.register)("io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec", schema); } exports.addSchema = addSchema;