review-stats: enable working on bugs in prod

Signed-off-by: Mattia Verga <mattia.verga@protonmail.com>
This commit is contained in:
Mattia Verga 2020-07-02 17:37:32 +02:00 committed by kevin
parent 84b859b342
commit 5e735e8263
1 changed files with 5 additions and 0 deletions

View File

@ -66,8 +66,13 @@ spec:
containers:
- name: build
image: docker-registry.default.svc:5000/review-stats/builder:latest
{% if env == 'staging' %}
command: ["review-stats", "-c", "/etc/review-stats/config.cfg", "-D",
"work-on-bugs", "-d"]
{% else %}
command: ["review-stats", "-c", "/etc/review-stats/config.cfg", "-D",
"work-on-bugs"]
{% endif %}
env:
- name: HOME
value: "/tmp"