Skip to content

Commit e2edfeb

Browse files
nikolay-eclaude
andcommitted
Disable unnecessary migration job in Helm chart
The application handles database initialization internally via SQLAlchemy's create_all() method in database.py. The separate migration job was causing deployment failures and is redundant since the app automatically creates tables on startup. This simplifies deployment and eliminates the migration job failure point. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 049fd53 commit e2edfeb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env/
88
venv/
99
.venv/
1010
ENV/
11-
11+
export_*
1212
# IDE
1313
.vscode/
1414
.idea/

helm/life-as-code-app/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ serviceAccount:
9797

9898
# Database migrations/initialization configuration
9999
migrations:
100-
enabled: true
100+
enabled: false # App handles database initialization internally
101101
command: ["python", "-c", "from database import init_db; init_db()"]
102102
# Keep failed migration pods for 1 hour for debugging
103103
ttlSecondsAfterFinished: 3600

0 commit comments

Comments
 (0)