hm4: own hosting operator CRDs and RBAC

This commit is contained in:
Andrew Stoltz
2026-06-17 13:47:40 -05:00
parent 4f7a5f3d20
commit a0d79eeb8c
13 changed files with 1217 additions and 0 deletions

View 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"
}
]
}
]
}
}