kubernetes-models
Version:
33 lines (32 loc) • 876 B
JavaScript
import { register } from "@kubernetes-models/validate";
import { addSchema as IoK8sApiCoreV1PodDNSConfigOption } from "./IoK8sApiCoreV1PodDNSConfigOption.mjs";
const schema = {
"properties": {
"nameservers": {
"items": {
"type": "string"
},
"type": "array",
"nullable": true
},
"options": {
"items": {
"$ref": "io.k8s.api.core.v1.PodDNSConfigOption#"
},
"type": "array",
"nullable": true
},
"searches": {
"items": {
"type": "string"
},
"type": "array",
"nullable": true
}
},
"type": "object"
};
export function addSchema() {
IoK8sApiCoreV1PodDNSConfigOption();
register("io.k8s.api.core.v1.PodDNSConfig", schema);
}