From 53fbef18044e03caaab59a8d94633a114881f716 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Wed, 14 Aug 2019 18:10:13 +0800 Subject: [PATCH] message-tagging-service: set USER for fedmsg Signed-off-by: Chenxiong Qi --- .../message-tagging-service/templates/deployment.yml | 9 ++++++--- 1 file changed, 6 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 1ee3b0aa58..4d936652aa 100644 --- a/roles/openshift-apps/message-tagging-service/templates/deployment.yml +++ b/roles/openshift-apps/message-tagging-service/templates/deployment.yml @@ -19,6 +19,9 @@ spec: containers: - name: mts image: quay.io/factory2/message-tagging-service:{{ quay_tag }} + env: + - name: USER + value: mts ports: - containerPort: 8080 volumeMounts: @@ -29,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