UNPKG

kubernetes-models

Version:
54 lines (53 loc) 1.32 kB
import { register } from "@kubernetes-models/validate"; import { addSchema as IoK8sApiCoreV1SecretReference } from "./IoK8sApiCoreV1SecretReference.mjs"; const schema = { "properties": { "fsType": { "type": "string", "nullable": true }, "gateway": { "type": "string" }, "protectionDomain": { "type": "string", "nullable": true }, "readOnly": { "type": "boolean", "nullable": true }, "secretRef": { "$ref": "io.k8s.api.core.v1.SecretReference#" }, "sslEnabled": { "type": "boolean", "nullable": true }, "storageMode": { "type": "string", "nullable": true }, "storagePool": { "type": "string", "nullable": true }, "system": { "type": "string" }, "volumeName": { "type": "string", "nullable": true } }, "required": [ "gateway", "system", "secretRef" ], "type": "object" }; export function addSchema() { IoK8sApiCoreV1SecretReference(); register("io.k8s.api.core.v1.ScaleIOPersistentVolumeSource", schema); }