kubernetes-models
Version:
27 lines (26 loc) • 699 B
JavaScript
import { register } from "@kubernetes-models/validate";
import { addSchema as IoK8sApiCoreV1KeyToPath } from "./IoK8sApiCoreV1KeyToPath.mjs";
const schema = {
"properties": {
"items": {
"items": {
"$ref": "io.k8s.api.core.v1.KeyToPath#"
},
"type": "array",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"optional": {
"type": "boolean",
"nullable": true
}
},
"type": "object"
};
export function addSchema() {
IoK8sApiCoreV1KeyToPath();
register("io.k8s.api.core.v1.ConfigMapProjection", schema);
}