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
|
deploymentconfig: consumer
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
# recreateParams:
|
recreateParams:
|
||||||
# mid:
|
mid:
|
||||||
# execNewPod:
|
execNewPod:
|
||||||
# command: [/opt/app-root/bin/fmn, database, sync]
|
command: [/opt/app-root/bin/tahrir-sync-db, /etc/badges/tahrir.cfg]
|
||||||
# containerName: consumer
|
containerName: consumer
|
||||||
# volumes:
|
volumes:
|
||||||
# - etc-badges
|
- etc-badges
|
||||||
# failurePolicy: Abort
|
failurePolicy: Abort
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue