waiverdb: Update command for the new container image
This commit is contained in:
parent
3228a3646a
commit
c3942af631
1 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: DeploymentConfig
|
||||
metadata:
|
||||
|
@ -18,7 +18,14 @@ spec:
|
|||
failurePolicy: Abort
|
||||
execNewPod:
|
||||
containerName: web
|
||||
command: [ /bin/sh, -i, -c, "waiverdb wait-for-db && waiverdb db upgrade" ]
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- >-
|
||||
if [ -f /app/entrypoint.sh ];
|
||||
then /app/entrypoint.sh waiverdb db upgrade;
|
||||
else waiverdb db upgrade;
|
||||
fi
|
||||
volumes:
|
||||
- config-volume
|
||||
- secret-volume
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue