[release-monitoring] Fix the syntax of command in deploymentconfig

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2023-04-25 16:32:57 +02:00
parent 3b729d6337
commit aa217956b1

View file

@ -19,7 +19,7 @@ items:
failurePolicy: Abort
execNewPod:
containerName: release-monitoring-web
command: [/bin/python3, -m, "alembic.config -c /etc/anitya/alembic.ini upgrade head"]
command: [/bin/python3, -m "alembic.config", "-c /etc/anitya/alembic.ini upgrade head"]
volumes:
- config-volume
resources: {}
@ -118,7 +118,7 @@ items:
failurePolicy: Retry
execNewPod:
containerName: release-monitoring-web
command: [/bin/python3, -m, "alembic.config -c /etc/anitya/alembic.ini current | grep '(head)'"]
command: [/bin/python3, -m "alembic.config", "-c /etc/anitya/alembic.ini current | grep '(head)'"]
env:
- name: ANITYA_WEB_CONFIG
value: /etc/anitya/anitya.toml
@ -206,7 +206,7 @@ items:
failurePolicy: Retry
execNewPod:
containerName: release-monitoring-web
command: [/bin/python3, -m, "alembic.config -c /etc/anitya/alembic.ini current | grep '(head)'"]
command: [/bin/python3, -m "alembic.config", "-c /etc/anitya/alembic.ini current | grep '(head)'"]
env:
- name: ANITYA_WEB_CONFIG
value: /etc/anitya/anitya.toml