79 lines
2.0 KiB
JSON
79 lines
2.0 KiB
JSON
{
|
|
"apiVersion": "apiextensions.k8s.io/v1",
|
|
"kind": "CustomResourceDefinition",
|
|
"metadata": {
|
|
"name": "phpinstancecrds.flowercore.io"
|
|
},
|
|
"spec": {
|
|
"group": "flowercore.io",
|
|
"names": {
|
|
"kind": "PhpInstanceCrd",
|
|
"listKind": "PhpInstanceCrdList",
|
|
"plural": "phpinstancecrds",
|
|
"singular": "phpinstancecrd",
|
|
"shortNames": [
|
|
"php",
|
|
"phpinst"
|
|
]
|
|
},
|
|
"scope": "Namespaced",
|
|
"versions": [
|
|
{
|
|
"name": "v1",
|
|
"served": true,
|
|
"storage": true,
|
|
"schema": {
|
|
"openAPIV3Schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"spec": {
|
|
"type": "object",
|
|
"x-kubernetes-preserve-unknown-fields": true
|
|
},
|
|
"status": {
|
|
"type": "object",
|
|
"x-kubernetes-preserve-unknown-fields": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"subresources": {
|
|
"status": {}
|
|
},
|
|
"additionalPrinterColumns": [
|
|
{
|
|
"name": "Ready",
|
|
"type": "string",
|
|
"jsonPath": ".status.ready",
|
|
"description": "Whether the instance is ready"
|
|
},
|
|
{
|
|
"name": "Action",
|
|
"type": "string",
|
|
"jsonPath": ".spec.action",
|
|
"description": "Current action"
|
|
},
|
|
{
|
|
"name": "Status",
|
|
"type": "string",
|
|
"jsonPath": ".status.lastActionStatus",
|
|
"description": "Last action status"
|
|
},
|
|
{
|
|
"name": "Message",
|
|
"type": "string",
|
|
"jsonPath": ".status.message",
|
|
"description": "Status message",
|
|
"priority": 1
|
|
},
|
|
{
|
|
"name": "Age",
|
|
"type": "date",
|
|
"jsonPath": ".metadata.creationTimestamp"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|