From 5570944d4742fecd16bd6408d9a2bac39ebb129a Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Wed, 14 Aug 2019 21:27:27 +0800 Subject: [PATCH] message-tagging-service: fix if-else in deployment.yml Signed-off-by: Chenxiong Qi --- .../message-tagging-service/templates/deployment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/openshift-apps/message-tagging-service/templates/deployment.yml b/roles/openshift-apps/message-tagging-service/templates/deployment.yml index ab18f6ed57..e0a6e17147 100644 --- a/roles/openshift-apps/message-tagging-service/templates/deployment.yml +++ b/roles/openshift-apps/message-tagging-service/templates/deployment.yml @@ -32,13 +32,13 @@ spec: mountPath: /etc/fedmsg.d readOnly: true - name: "koji-conf" - {% if env == 'staging' %} +{% if env == 'staging' %} mountPath: /etc/koji.conf.d/stg.conf subPath: stg.conf - {% else %} +{% else %} mountPath: /etc/koji.conf subPath: koji.conf - {% endif %} +{% endif %} readOnly: true - name: "krb5-conf" mountPath: /etc/krb5.conf