Skip to content

Commit 7016008

Browse files
committed
Disable migrations by default - all migrations already applied
All existing migrations are from 2019-2020 and have been applied in production for years. Running them on every deployment is wasteful. Changes: - Set migrations.enabled: false in values.yaml - Added comments explaining when to enable migrations - Only enable manually when adding NEW migrations with --set migrations.enabled=true This reduces deployment time and database load for routine deployments.
1 parent 2333aba commit 7016008

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

helm/eagle-api/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,11 @@ autoscaling:
120120
targetCPUUtilizationPercentage: 80
121121

122122
# Database migrations job
123+
# Note: All migrations are from 2019-2020 and have been applied in production.
124+
# Only enable this when adding NEW migrations to the codebase.
125+
# To run migrations: helm upgrade --set migrations.enabled=true
123126
migrations:
124-
enabled: true
127+
enabled: false
125128
image:
126129
repository: image-registry.openshift-image-registry.svc:5000/6cdc9e-tools/eagle-api
127130
tag: "latest"

0 commit comments

Comments
 (0)