UNPKG

kubernetes-models

Version:
43 lines (42 loc) 1.19 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const IoK8sApiCoreV1PodTemplateSpec_1 = require("./IoK8sApiCoreV1PodTemplateSpec.js"); const schema = { "properties": { "minReadySeconds": { "format": "int32", "type": "integer", "nullable": true }, "replicas": { "format": "int32", "type": "integer", "nullable": true }, "selector": { "additionalProperties": { "type": "string" }, "type": "object", "nullable": true }, "template": { "oneOf": [ { "$ref": "io.k8s.api.core.v1.PodTemplateSpec#" }, { "type": "null" } ] } }, "type": "object" }; function addSchema() { (0, IoK8sApiCoreV1PodTemplateSpec_1.addSchema)(); (0, validate_1.register)("io.k8s.api.core.v1.ReplicationControllerSpec", schema); } exports.addSchema = addSchema;