feat(wiki): roll the pod when one of its Secrets changes #951

Merged
k.renner merged 1 commits from feat/wiki-reloader into master 2026-09-24 15:12:20 +00:00
Member

Adds secret.reloader.stakater.com/reload: wiki-gitea,wiki-api-keys,wiki-typesafe,wiki-anthropic to the wiki Deployment, same mechanism as gatus, home-assistant and others.

Why now: the workstation API key in OpenBao was stored with a trailing newline (my openssl rand … > file plus workstation=@file earlier today). The value is corrected in OpenBao (version 2) and the Kubernetes Secret has resynced to the 64-byte key, but the running pod still holds the old value in its environment. With this annotation Reloader rolls the pod on this and every future rotation.

🤖 Generated with Claude Code

Adds `secret.reloader.stakater.com/reload: wiki-gitea,wiki-api-keys,wiki-typesafe,wiki-anthropic` to the wiki Deployment, same mechanism as gatus, home-assistant and others. Why now: the workstation API key in OpenBao was stored with a trailing newline (my `openssl rand … > file` plus `workstation=@file` earlier today). The value is corrected in OpenBao (version 2) and the Kubernetes Secret has resynced to the 64-byte key, but the running pod still holds the old value in its environment. With this annotation Reloader rolls the pod on this and every future rotation. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude-bot added 1 commit 2026-09-24 15:11:46 +00:00
feat(wiki): roll the pod when one of its Secrets changes
ci/woodpecker/pr/ci-scripts-test Pipeline was successful
ci/woodpecker/pr/ci-manifests-test Pipeline was successful
ci/woodpecker/pr/pr-review Pipeline was successful
251f8cd87e
All credentials reach the service via envFrom, which is read once at pod
start. Reloader watches the four Secrets and restarts the Deployment on a
change, so a corrected or rotated key takes effect without a manual restart.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
k.renner merged commit 5c780290a8 into master 2026-09-24 15:12:20 +00:00
Sign in to join this conversation.