Files
cozystack/packages/system
Aleksei Sviridkin fbf6415dbe chore(hami): bump HAMi to 2.9.0 (#2993)
## What this PR does

Re-vendors the HAMi vGPU chart from 2.8.1 to 2.9.0, moving the
device-plugin and scheduler-extender images to `projecthami/hami:v2.9.0`
and picking up the published security fixes.

**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
approach (strip the dra/PSP values and remove the conditionals by hand)
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. The Makefile
vendoring notes are updated to document this.

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. `helm
unittest` 3/3 pass.

Note: the vendored `charts/hami/README.md` still documents the old
`global.imageTag` default — that is an upstream autogenerated-doc bug
carried in by `make update`; per the vendoring policy it is left
untouched (the operative `values.yaml` default is correctly `v2.9.0`).

Closes #2897

### Release note

```release-note
chore(hami): bump HAMi to 2.9.0
```


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
  * Added DRA (Dynamic Resource Allocation) support with feature flag
  * Added Vastai device support
  * Added Prometheus ServiceMonitor templates for metrics collection
  * Enhanced scheduler with Kubernetes 1.22+ native API support

* **Improvements**
  * Upgraded HAMi to v2.9.0
  * Expanded Ascend device configuration options
  * Added legacy metrics compatibility mode
  * Improved PodSecurityPolicy support
  * Enhanced service selector labels for better traffic routing

* **Tests**
* Added chart rendering tests for version verification and label
validation

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-06-23 13:14:06 +03:00
..
2026-06-22 10:55:37 +00:00
2026-03-25 15:57:25 +05:00
2026-06-22 10:55:37 +00:00
2026-06-22 10:55:37 +00:00
2026-06-22 10:55:37 +00:00
2026-06-22 10:55:37 +00:00
2026-06-22 10:55:37 +00:00
2026-06-22 10:55:37 +00:00
2026-06-22 10:55:37 +00:00
2026-06-22 10:55:37 +00:00
2026-02-10 20:19:03 +01:00
2026-06-22 10:55:37 +00:00
2026-06-22 10:55:37 +00:00
2026-03-25 15:57:25 +05:00
2026-06-22 10:55:37 +00:00
2026-01-20 03:24:32 +01:00