W2FM: upgrade the DB on redeployments
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
25eb4bdba6
commit
1cb613d3bd
1 changed files with 9 additions and 1 deletions
|
@ -12,7 +12,15 @@ spec:
|
|||
app: webhook2fedmsg
|
||||
deploymentconfig: app
|
||||
strategy:
|
||||
resources: {}
|
||||
type: Recreate
|
||||
recreateParams:
|
||||
mid:
|
||||
execNewPod:
|
||||
command: [/opt/app-root/bin/flask, db, sync]
|
||||
containerName: app
|
||||
volumes:
|
||||
- config
|
||||
failurePolicy: Abort
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue