Chore: Bump manifests and add migration init container sequence

This commit is contained in:
2026-05-09 20:26:51 -04:00
parent 27425889b3
commit a61c67614f
2 changed files with 5 additions and 4 deletions

View File

@@ -15,8 +15,9 @@ spec:
spec: spec:
initContainers: initContainers:
- name: migrate - name: migrate
image: git.juggalol.com/juggalol/reactbin-api:v1.3.1 image: git.juggalol.com/juggalol/reactbin-api:v1.4.0
command: ["alembic", "upgrade", "head"] # command: ["alembic", "upgrade", "head"]
command: ["sh", "-c", "alembic upgrade 003 && python -m scripts.migrate_to_short_ids && alembic upgrade head"]
workingDir: /app workingDir: /app
envFrom: envFrom:
- secretRef: - secretRef:
@@ -26,7 +27,7 @@ spec:
runAsUser: 1001 runAsUser: 1001
containers: containers:
- name: api - name: api
image: git.juggalol.com/juggalol/reactbin-api:v1.3.1 image: git.juggalol.com/juggalol/reactbin-api:v1.4.0
ports: ports:
- containerPort: 8000 - containerPort: 8000
envFrom: envFrom:

View File

@@ -15,7 +15,7 @@ spec:
spec: spec:
containers: containers:
- name: ui - name: ui
image: git.juggalol.com/juggalol/reactbin-ui:v1.3.1 image: git.juggalol.com/juggalol/reactbin-ui:v1.4.0
ports: ports:
- containerPort: 8080 - containerPort: 8080
livenessProbe: livenessProbe: