anitya/release-monitoring: change deployment strategy to recreate
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
2f61db2093
commit
4be5ff27de
1 changed files with 8 additions and 1 deletions
|
@ -15,6 +15,13 @@ items:
|
||||||
activeDeadlineSeconds: 21600
|
activeDeadlineSeconds: 21600
|
||||||
recreateParams:
|
recreateParams:
|
||||||
timeoutSeconds: 600
|
timeoutSeconds: 600
|
||||||
|
pre:
|
||||||
|
failurePolicy: Abort
|
||||||
|
execNewPod:
|
||||||
|
containerName: release-monitoring-web
|
||||||
|
command: [ /bin/sh, -i, -c, "alembic-3 -c /etc/anitya/alembic.ini upgrade head" ]
|
||||||
|
volumes:
|
||||||
|
- config-volume
|
||||||
resources: {}
|
resources: {}
|
||||||
rollingParams:
|
rollingParams:
|
||||||
intervalSeconds: 1
|
intervalSeconds: 1
|
||||||
|
@ -29,7 +36,7 @@ items:
|
||||||
command: [ /bin/sh, -i, -c, "alembic-3 -c /etc/anitya/alembic.ini upgrade head" ]
|
command: [ /bin/sh, -i, -c, "alembic-3 -c /etc/anitya/alembic.ini upgrade head" ]
|
||||||
volumes:
|
volumes:
|
||||||
- config-volume
|
- config-volume
|
||||||
type: Rolling
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue