UNPKG

@jkcfg/kubernetes

Version:
42 lines 1.25 kB
{ "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "required": [ "group", "version", "names", "scope" ], "properties": { "group": { "description": "Group is the group this resource belongs in", "type": [ "string", "null" ] }, "names": { "description": "Names are the names used to describe this custom resource", "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames" }, "scope": { "description": "Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced", "type": [ "string", "null" ] }, "validation": { "description": "Validation describes the validation methods for CustomResources", "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation" }, "version": { "description": "Version is the version this resource belongs in", "type": [ "string", "null" ] } }, "$schema": "http://json-schema.org/schema#", "type": "object" }