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