UNPKG

kubernetes-models

Version:
30 lines (29 loc) 819 B
import { register } from "@kubernetes-models/validate"; import { addSchema as IoK8sApiAppsV1RollingUpdateDeployment } from "./IoK8sApiAppsV1RollingUpdateDeployment.mjs"; const schema = { "properties": { "rollingUpdate": { "oneOf": [ { "$ref": "io.k8s.api.apps.v1.RollingUpdateDeployment#" }, { "type": "null" } ] }, "type": { "enum": [ "Recreate", "RollingUpdate" ], "type": "string", "nullable": true } }, "type": "object" }; export function addSchema() { IoK8sApiAppsV1RollingUpdateDeployment(); register("io.k8s.api.apps.v1.DeploymentStrategy", schema); }