UNPKG

kubernetes-models

Version:
38 lines (37 loc) 997 B
import { register } from "@kubernetes-models/validate"; import { addSchema as IoK8sApiCoreV1LocalObjectReference } from "./IoK8sApiCoreV1LocalObjectReference.mjs"; const schema = { "properties": { "fsType": { "type": "string", "nullable": true }, "readOnly": { "type": "boolean", "nullable": true }, "secretRef": { "oneOf": [ { "$ref": "io.k8s.api.core.v1.LocalObjectReference#" }, { "type": "null" } ] }, "volumeName": { "type": "string", "nullable": true }, "volumeNamespace": { "type": "string", "nullable": true } }, "type": "object" }; export function addSchema() { IoK8sApiCoreV1LocalObjectReference(); register("io.k8s.api.core.v1.StorageOSVolumeSource", schema); }