@jkcfg/kubernetes
Version:
jk Kubernetes library
42 lines • 1.36 kB
JSON
{
"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 This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.",
"$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"
}