mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-04 11:07:03 +09:00
Re-vendors the HAMi vGPU chart from 2.8.1 to 2.9.0, moving the device-plugin image to projecthami/hami:v2.9.0 and picking up the published security fixes. The vendoring approach changed for 2.9.0: upstream now gates the scheduler and device-plugin templates on .Values.dra.enabled and .Values.podSecurityPolicy.enabled across ~27 files, so the previous "strip the dra/PSP values and remove the conditionals" approach would nil-pointer at render time. Instead the dra and podSecurityPolicy blocks are KEPT at their upstream default (enabled: false), which cleanly disables both paths; only the unused hami-dra subchart and its values block are removed. Replays the indent->nindent patch on the custom Service labels block, now extended to BOTH Services that carry the upstream defect: the device-plugin monitor Service and the scheduler Service (the latter was previously unpatched and would emit invalid YAML if scheduler.service.labels were set). Adds helm-unittest coverage (the package shipped none): pins the device-plugin image and guards the nindent patch on both Services. Adaptations: - Makefile: pin update to --version 2.9.0; keep dra/podSecurityPolicy blocks (drop the del); add test target; refresh vendoring notes - charts/: re-vendored HAMi 2.9.0 (hami-dra subchart removed, deps emptied) - charts/.../device-plugin/monitorservice.yaml + scheduler/service.yaml: replay indent->nindent - values.yaml: refresh the upstream-values reference URL to v2.9.0 - tests/hami_test.yaml: new helm-unittest coverage Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>