message-tagging-service: set USER for fedmsg

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
Chenxiong Qi 2019-08-14 18:10:13 +08:00 committed by Pierre-Yves Chibon
parent 0ab09585c7
commit 53fbef1804

View file

@ -19,6 +19,9 @@ spec:
containers: containers:
- name: mts - name: mts
image: quay.io/factory2/message-tagging-service:{{ quay_tag }} image: quay.io/factory2/message-tagging-service:{{ quay_tag }}
env:
- name: USER
value: mts
ports: ports:
- containerPort: 8080 - containerPort: 8080
volumeMounts: volumeMounts:
@ -29,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