message-tagging-service: fix if-else in deployment.yml

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
Chenxiong Qi 2019-08-14 21:27:27 +08:00 committed by Pierre-Yves Chibon
parent ef2c813164
commit 5570944d47

View file

@ -32,13 +32,13 @@ spec:
mountPath: /etc/fedmsg.d mountPath: /etc/fedmsg.d
readOnly: true readOnly: true
- name: "koji-conf" - name: "koji-conf"
{% if env == 'staging' %} {% if env == 'staging' %}
mountPath: /etc/koji.conf.d/stg.conf mountPath: /etc/koji.conf.d/stg.conf
subPath: stg.conf subPath: stg.conf
{% else %} {% else %}
mountPath: /etc/koji.conf mountPath: /etc/koji.conf
subPath: koji.conf subPath: koji.conf
{% endif %} {% endif %}
readOnly: true readOnly: true
- name: "krb5-conf" - name: "krb5-conf"
mountPath: /etc/krb5.conf mountPath: /etc/krb5.conf