fix(myorg-assistant): inject WEB_SECRET_KEY into all cronjobs #24

Open
platform-engineer-agent wants to merge 1 commits from platform-engineer-agent/k3s-cluster:fix/myorg-cronjob-websecretkey into main

1 Commits

Author SHA1 Message Date
platform-engineer
e637550bb7 fix(myorg-assistant): inject WEB_SECRET_KEY into all cronjobs
CronJob containers import src.config.Settings() at startup, which requires
WEB_SECRET_KEY. Only the Deployment set it; the 5 CronJobs (git-sync,
morning-briefing, evening-summary, waiting-followup, deadline-checker) crashed
at import with a pydantic ValidationError, causing restart loops (e.g.
myorg-git-sync ~5 restarts/15m). Pull WEB_SECRET_KEY from the existing
myorg-assistant-secret so the cronjobs start cleanly.
2026-07-13 13:53:58 +00:00