From 42483f32b58d63131b5cd14dc600edefc919b2d1 Mon Sep 17 00:00:00 2001 From: Scrublord MacBad Date: Fri, 24 Apr 2026 13:48:57 +0200 Subject: [PATCH] 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 --- .../custom-configs/synapse-values.yaml | 47 +++++++++---------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/apps/production/custom-configs/synapse-values.yaml b/apps/production/custom-configs/synapse-values.yaml index 873e479..ece1b16 100644 --- a/apps/production/custom-configs/synapse-values.yaml +++ b/apps/production/custom-configs/synapse-values.yaml @@ -23,29 +23,28 @@ data: - 'fe80::/10' - 'fc00::/7' 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: - config: | - retention: - 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: + local_media_lifetime: 365d + remote_media_lifetime: 90d - media_retention: - local_media_lifetime: 365d # Lokale Medien nach 1 Jahr löschen - remote_media_lifetime: 90d # Remote-Cache nach 90 Tagen löschen - - redaction_retention_period: 7d - forgotten_room_retention_period: 28d - user_ips_max_age: 90d \ No newline at end of file + redaction_retention_period: 7d + forgotten_room_retention_period: 28d + user_ips_max_age: 90d \ No newline at end of file