kubernetes-models
Version:
72 lines (71 loc) • 1.79 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addSchema = void 0;
const validate_1 = require("@kubernetes-models/validate");
const IoK8sApiCoreV1SecretReference_1 = require("./IoK8sApiCoreV1SecretReference.js");
const schema = {
"properties": {
"chapAuthDiscovery": {
"type": "boolean",
"nullable": true
},
"chapAuthSession": {
"type": "boolean",
"nullable": true
},
"fsType": {
"type": "string",
"nullable": true
},
"initiatorName": {
"type": "string",
"nullable": true
},
"iqn": {
"type": "string"
},
"iscsiInterface": {
"type": "string",
"nullable": true
},
"lun": {
"format": "int32",
"type": "integer"
},
"portals": {
"items": {
"type": "string"
},
"type": "array",
"nullable": true
},
"readOnly": {
"type": "boolean",
"nullable": true
},
"secretRef": {
"oneOf": [
{
"$ref": "io.k8s.api.core.v1.SecretReference#"
},
{
"type": "null"
}
]
},
"targetPortal": {
"type": "string"
}
},
"required": [
"targetPortal",
"iqn",
"lun"
],
"type": "object"
};
function addSchema() {
(0, IoK8sApiCoreV1SecretReference_1.addSchema)();
(0, validate_1.register)("io.k8s.api.core.v1.ISCSIPersistentVolumeSource", schema);
}
exports.addSchema = addSchema;