hm4: own hosting operator CRDs and RBAC
This commit is contained in:
78
apps-gx10/fc-system/crd-phpinstancecrds.json
Normal file
78
apps-gx10/fc-system/crd-phpinstancecrds.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user