86 lines
2.2 KiB
JSON
86 lines
2.2 KiB
JSON
{
|
|
"apiVersion": "apiextensions.k8s.io/v1",
|
|
"kind": "CustomResourceDefinition",
|
|
"metadata": {
|
|
"name": "phpapplicationcrds.flowercore.io"
|
|
},
|
|
"spec": {
|
|
"group": "flowercore.io",
|
|
"names": {
|
|
"kind": "PhpApplicationCrd",
|
|
"listKind": "PhpApplicationCrdList",
|
|
"plural": "phpapplicationcrds",
|
|
"singular": "phpapplicationcrd",
|
|
"shortNames": [
|
|
"phpapp",
|
|
"phpapps"
|
|
]
|
|
},
|
|
"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 application is ready"
|
|
},
|
|
{
|
|
"name": "Phase",
|
|
"type": "string",
|
|
"jsonPath": ".status.phase",
|
|
"description": "Current lifecycle phase"
|
|
},
|
|
{
|
|
"name": "Last",
|
|
"type": "string",
|
|
"jsonPath": ".status.lastCompletedPhase",
|
|
"description": "Last completed subphase"
|
|
},
|
|
{
|
|
"name": "Version",
|
|
"type": "string",
|
|
"jsonPath": ".status.version",
|
|
"description": "Installed application version",
|
|
"priority": 1
|
|
},
|
|
{
|
|
"name": "Error",
|
|
"type": "string",
|
|
"jsonPath": ".status.lastError",
|
|
"description": "Last reconcile error",
|
|
"priority": 1
|
|
},
|
|
{
|
|
"name": "Age",
|
|
"type": "date",
|
|
"jsonPath": ".metadata.creationTimestamp"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|