mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 01:32:20 +08:00
message-tagging-service: fix configmap and DC
Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
bc73da2835
commit
949615fa8a
@@ -6,15 +6,16 @@ metadata:
|
||||
labels:
|
||||
app: "{{ app }}"
|
||||
data:
|
||||
app_config.py: |-
|
||||
config.py: |-
|
||||
class BaseConfiguration:
|
||||
# Set this to False when MTS is ready to work on either stg or prod
|
||||
# FIXME: Set this to False when MTS is ready to work on either stg or prod
|
||||
dry_run = True
|
||||
|
||||
log_level = 'DEBUG'
|
||||
|
||||
keytab = '/etc/krb5.keytab'
|
||||
principal = '{{ app }}/{{ app }}{{ env_suffix }}.fedoraproject.org@{{ ipa_realm }}'
|
||||
|
||||
log_level = 'INFO'
|
||||
messaging_backend = 'fedmsg'
|
||||
messaging_backends = {
|
||||
'fedmsg': {'service': 'mts'},
|
||||
@@ -47,6 +48,7 @@ metadata:
|
||||
data:
|
||||
mts.py: |-
|
||||
config = {
|
||||
'zmq_enabled': True,
|
||||
'mts-consumer': True,
|
||||
'validate_signatures': False,
|
||||
'active': True,
|
||||
|
||||
@@ -18,6 +18,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: "{{ app }}"
|
||||
image: "quay.io/factory2/{{ app }}:{{ quay_tag }}"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
@@ -51,6 +52,12 @@ spec:
|
||||
path: /
|
||||
port: 8080
|
||||
volumes:
|
||||
- name: "{{ app }}-config"
|
||||
configMap:
|
||||
name: "{{ app }}-config"
|
||||
- name: "{{ app }}-fedmsg"
|
||||
configMap:
|
||||
name: "{{ app }}-fedmsg"
|
||||
- name: keytab
|
||||
secret:
|
||||
secretName: keytab
|
||||
|
||||
Reference in New Issue
Block a user