Skip to content

docs: document databaseInit as single-replica concern#11

Merged
GeiserX merged 2 commits intomainfrom
feat/helm-chart
Mar 31, 2026
Merged

docs: document databaseInit as single-replica concern#11
GeiserX merged 2 commits intomainfrom
feat/helm-chart

Conversation

@GeiserX
Copy link
Copy Markdown
Owner

@GeiserX GeiserX commented Mar 31, 2026

Summary

  • Add values.yaml comment clarifying that databaseInit.enabled: true runs npx prisma db push on every pod start
  • Documents this as safe for single-replica homelab deploys but a concern for HA/strict rollout processes

Test plan

  • helm lint passes
  • helm template renders cleanly

GeiserX added 2 commits April 1, 2026 00:30
Concurrent prisma db push from multiple init containers can race on
schema mutations. Fail at template time with a clear message instead
of letting operators discover this at runtime.
@GeiserX GeiserX merged commit e4c3be1 into main Mar 31, 2026
7 checks passed
@GeiserX GeiserX deleted the feat/helm-chart branch April 1, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant