Fix synapse retention-config placement in values

- Move retention-config from top-level synapse to additional section
- Helm Chart schema requires custom configs under synapse.additional
- Clean up comments (keep inline comments minimal)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Scrublord MacBad 2026-04-24 13:48:57 +02:00
parent ee6cdb7982
commit 42483f32b5

View File

@ -23,29 +23,28 @@ data:
- 'fe80::/10' - 'fe80::/10'
- 'fc00::/7' - 'fc00::/7'
max_spider_size: 10M max_spider_size: 10M
retention-config:
config: |
retention:
enabled: true
default_policy:
min_lifetime: 1d
max_lifetime: 1y
allowed_lifetime_min: 1d
allowed_lifetime_max: 2y
purge_jobs:
- longest_max_lifetime: 3d
interval: 12h
- shortest_max_lifetime: 3d
longest_max_lifetime: 1w
interval: 1d
- shortest_max_lifetime: 1w
interval: 2d
retention-config: media_retention:
config: | local_media_lifetime: 365d
retention: remote_media_lifetime: 90d
enabled: true
default_policy:
min_lifetime: 1d
max_lifetime: 1y # Nachrichten älter als 1 Jahr werden gelöscht
allowed_lifetime_min: 1d # Minimum, das Räume setzen können
allowed_lifetime_max: 2y # Maximum, das Räume setzen können
purge_jobs:
- longest_max_lifetime: 3d
interval: 12h
- shortest_max_lifetime: 3d
longest_max_lifetime: 1w
interval: 1d
- shortest_max_lifetime: 1w
interval: 2d
media_retention: redaction_retention_period: 7d
local_media_lifetime: 365d # Lokale Medien nach 1 Jahr löschen forgotten_room_retention_period: 28d
remote_media_lifetime: 90d # Remote-Cache nach 90 Tagen löschen user_ips_max_age: 90d
redaction_retention_period: 7d
forgotten_room_retention_period: 28d
user_ips_max_age: 90d