mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
* refactor(management-engine): generate and install its own release CRDs management-engine keeps the MachineImage, ClusterRelease and NodePoolRelease CRDs it generates in config/crd/bases and installs all six from its own kustomization, instead of copying them into the nvke-crds chart directory that the NVKE controller now owns. Its tests, envtest suites and public-gen read only config/crd/bases, and chart-crds-check verifies each generator against its own committed files, so the two sets are free to diverge. Signed-off-by: Miancheng Lin <mianchengl@nvidia.com> * refactor(management-engine): ship the release CRDs in its own Helm chart The management-engine chart carries the three release CRDs itself and drops its dependency on the NVKE controller's nvke-crds chart, along with Chart.lock and the chart-deps target. The release CRDs stay opt-in, as nvke-crds.enabled was, because a cluster can have only one Helm owner per CRD name. Set state.crds.releases.install=true to install them; state.crds.install=false still delegates every CRD to another installer. Signed-off-by: Miancheng Lin <mianchengl@nvidia.com> * refactor(management-engine): move its API group to service.nvke.nvidia.com management-engine's kinds move from internal.nvke.nvidia.com to service.nvke.nvidia.com, so its CRDs are distinct from the NVKE controller's MachineImage, ClusterRelease and NodePoolRelease, which keep the internal group. CRDs, RBAC, registrations, samples and fixtures are regenerated for the new group. Existing objects under the old group are not migrated. Signed-off-by: Miancheng Lin <mianchengl@nvidia.com> * refactor(management-engine): drop state.crds.releases.install The release CRDs no longer share names with the NVKE controller chart's, so the two charts can be installed on one cluster. state.crds.install controls all six CRDs again, as it did before the release CRDs became opt-in. The chart tests and helm-installation docs follow. Signed-off-by: Miancheng Lin <mianchengl@nvidia.com> --------- Signed-off-by: Miancheng Lin <mianchengl@nvidia.com>
38 lines
658 B
JSON
38 lines
658 B
JSON
{
|
|
"state": {
|
|
"enabled": true,
|
|
"crds": {
|
|
"install": true
|
|
},
|
|
"namespace": "",
|
|
"rbac": {
|
|
"metricsAuth": false,
|
|
"subjects": [],
|
|
"tenantAPIBindings": [],
|
|
"operatorAPISubjects": []
|
|
},
|
|
"configMaps": []
|
|
},
|
|
"controller": {
|
|
"enabled": true
|
|
},
|
|
"manager": {
|
|
"stateNamespace": "",
|
|
"stateAccess": {
|
|
"mode": "inCluster",
|
|
"kubeconfigSecret": {
|
|
"name": "",
|
|
"key": "kubeconfig"
|
|
}
|
|
},
|
|
"infrastructureTemplateConfigMap": "",
|
|
"nvkeController": {
|
|
"endpoint": "",
|
|
"tokenSecret": {
|
|
"name": "",
|
|
"key": "token"
|
|
}
|
|
}
|
|
}
|
|
}
|