Chore: Bump manifests and add migration init container sequence
This commit is contained in:
@@ -15,8 +15,9 @@ spec:
|
||||
spec:
|
||||
initContainers:
|
||||
- name: migrate
|
||||
image: git.juggalol.com/juggalol/reactbin-api:v1.3.1
|
||||
command: ["alembic", "upgrade", "head"]
|
||||
image: git.juggalol.com/juggalol/reactbin-api:v1.4.0
|
||||
# command: ["alembic", "upgrade", "head"]
|
||||
command: ["sh", "-c", "alembic upgrade 003 && python -m scripts.migrate_to_short_ids && alembic upgrade head"]
|
||||
workingDir: /app
|
||||
envFrom:
|
||||
- secretRef:
|
||||
@@ -26,7 +27,7 @@ spec:
|
||||
runAsUser: 1001
|
||||
containers:
|
||||
- name: api
|
||||
image: git.juggalol.com/juggalol/reactbin-api:v1.3.1
|
||||
image: git.juggalol.com/juggalol/reactbin-api:v1.4.0
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
envFrom:
|
||||
|
||||
@@ -15,7 +15,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: ui
|
||||
image: git.juggalol.com/juggalol/reactbin-ui:v1.3.1
|
||||
image: git.juggalol.com/juggalol/reactbin-ui:v1.4.0
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
livenessProbe:
|
||||
|
||||
Reference in New Issue
Block a user