Commit Graph
3 Commits
Author SHA1 Message Date
Steph Liu cb24bb0d64 feat(service): enable public api naming in snake_case (#2500)
Signed-off-by: Stephanie Liu <stephaliu@nvidia.com>
2026-11-25 15:49:41 -08:00
Miancheng Lin 2f31480b36 refactor(management-engine): own its CRDs in the service.nvke.nvidia.com group (#2306)
* 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>
2026-11-13 15:02:48 -08:00
Steph LiuandJay Cox 28b9e338c1 feat(cluster-service): tenant catalog view (#2256)
* test(management-engine): add operator API golden fixtures

Signed-off-by: Jay Cox <jcox@nvidia.com>
(cherry picked from commit 221b4918cc4e25cab13fe4d1c6f89d3a32e24bfc)

* feat(cluster-service): tenant catalog visibility

Signed-off-by: Stephanie Liu <stephaliu@nvidia.com>

---------

Signed-off-by: Jay Cox <jcox@nvidia.com>
Signed-off-by: Stephanie Liu <stephaliu@nvidia.com>
Co-authored-by: Jay Cox <jcox@nvidia.com>
2026-11-10 15:03:33 -08:00