Skip to content

Helm charts cleanup#82

Open
slint wants to merge 3 commits into
inveniosoftware:mainfrom
slint:helm-chart-cleanup
Open

Helm charts cleanup#82
slint wants to merge 3 commits into
inveniosoftware:mainfrom
slint:helm-chart-cleanup

Conversation

@slint

@slint slint commented Jun 30, 2026

Copy link
Copy Markdown
Member
  • refactor(helm): extract shared db and langfuse env helpers

  • fix(helm): run migrations on pre-install
    Migrations now finish before the app and worker pods start serving. A fresh install therefore needs a pre-existing DB secret (secrets.db.existingSecret), since the chart-managed db-secrets does not exist yet during the pre-install hook.

  • fix(helm): keep failed migration job logs by dropping the TTL
    ttlSecondsAfterFinished let the TTL controller reap failed Jobs and their logs. Cleanup is left to the hook-delete-policy, which retains a failed Job until the next install or upgrade.

slint added 2 commits June 30, 2026 21:47
Migrations now finish before the app and worker pods start serving. A fresh install therefore needs a pre-existing DB secret (secrets.db.existingSecret), since the chart-managed db-secrets does not exist yet during the pre-install hook.
@slint slint changed the title helm chart cleanup Helm charts cleanup Jun 30, 2026
ttlSecondsAfterFinished let the TTL controller reap failed Jobs and their logs. Cleanup is left to the hook-delete-policy, which retains a failed Job until the next install or upgrade.
@slint slint force-pushed the helm-chart-cleanup branch from b9ad88c to 10b94ec Compare June 30, 2026 19:59
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