cozystack/packages
Andrei Kvapil 0df528a89d
[dashboard] Add config hash annotations to restart pods on config changes (#1662)
## What this PR does

This PR adds config hash annotations to the dashboard deployment
templates to ensure pods are automatically restarted when their
configuration changes.

Changes:
- Added `checksum/config` annotation to `nginx.yaml` deployment that
computes a hash of `nginx-config.yaml`
- Added `checksum/config` annotation to `web.yaml` deployment that
computes a hash of `configmap.yaml`

This replaces the hardcoded checksum in nginx.yaml with a dynamically
computed one, and adds a new checksum for the web deployment.

### Release note

```release-note
[dashboard] Add config hash annotations to automatically restart pods when configuration changes
```
2025-11-27 12:21:29 +01:00
..
apps Introduce better cleanup logic 2025-11-26 19:01:03 +01:00
core Prepare release v0.38.0 2025-11-25 15:59:42 +00:00
extra Prepare release v0.38.0 2025-11-25 15:59:42 +00:00
library [cozy-lib] Improve flatten function 2025-11-21 17:41:21 +03:00
system [dashboard] Add config hash annotations to restart pods on config changes 2025-11-26 19:22:01 +01:00
tests/cozy-lib-tests [cozy-lib] Improve flatten function 2025-11-21 17:41:21 +03:00