From 082817a0d7fad6ad923db5a301c1c517f0df76e3 Mon Sep 17 00:00:00 2001 From: Thore Cimbal Date: Tue, 28 Jul 2026 21:40:07 +0200 Subject: [PATCH] fix(matrix-stack): shorten HelmRelease reconcile interval to 1m Live-tested Issue #38's rotation: after merging the automated rotation PR, coturn restarted quickly (Kustomization-level, 1m interval), but synapse-main lagged behind since it depends on this separate HelmRelease with its own 5m interval - a real (self-healing, but avoidable) window where coturn had the new TURN secret and Synapse still had the old one, which would reject each other's credentials/relayed media. Matching the interval to production-apps's 1m tightens that window without needing any new automation. Co-Authored-By: Claude Sonnet 5 --- apps/production/element-server-suite.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/production/element-server-suite.yaml b/apps/production/element-server-suite.yaml index 937dea6..be286ee 100644 --- a/apps/production/element-server-suite.yaml +++ b/apps/production/element-server-suite.yaml @@ -4,7 +4,11 @@ metadata: name: matrix-stack namespace: matrix spec: - interval: 5m + # Shortened from 5m to match production-apps Kustomization's 1m interval - narrows the + # window between coturn (Kustomization-only, no Helm indirection) and synapse-main + # (behind this HelmRelease) picking up a rotated TURN secret after Issue #38's + # automated-rotation PR gets merged. Self-heals either way, just faster now. + interval: 1m chart: spec: chart: matrix-stack