kubernetes-models
Version:
32 lines (31 loc) • 767 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addSchema = void 0;
const validate_1 = require("@kubernetes-models/validate");
const schema = {
"properties": {
"allowed": {
"type": "boolean"
},
"denied": {
"type": "boolean",
"nullable": true
},
"evaluationError": {
"type": "string",
"nullable": true
},
"reason": {
"type": "string",
"nullable": true
}
},
"required": [
"allowed"
],
"type": "object"
};
function addSchema() {
(0, validate_1.register)("io.k8s.api.authorization.v1.SubjectAccessReviewStatus", schema);
}
exports.addSchema = addSchema;