Badges: upgrade the DB on redeployments
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
85351ee90d
commit
a431c7e919
1 changed files with 8 additions and 8 deletions
|
@ -139,14 +139,14 @@ spec:
|
|||
deploymentconfig: consumer
|
||||
strategy:
|
||||
type: Recreate
|
||||
# recreateParams:
|
||||
# mid:
|
||||
# execNewPod:
|
||||
# command: [/opt/app-root/bin/fmn, database, sync]
|
||||
# containerName: consumer
|
||||
# volumes:
|
||||
# - etc-badges
|
||||
# failurePolicy: Abort
|
||||
recreateParams:
|
||||
mid:
|
||||
execNewPod:
|
||||
command: [/opt/app-root/bin/tahrir-sync-db, /etc/badges/tahrir.cfg]
|
||||
containerName: consumer
|
||||
volumes:
|
||||
- etc-badges
|
||||
failurePolicy: Abort
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue