maubot: configure fedora messaging

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2023-09-11 13:53:02 +10:00
parent 42de862098
commit 21a0370365
3 changed files with 35 additions and 1 deletions

View file

@ -36,6 +36,9 @@ spec:
- name: keytab-volume
mountPath: /etc/keytabs
readOnly: true
- name: fedora-messaging-config-volume
mountPath: /etc/fedora-messaging/
readOnly: true
readinessProbe:
timeoutSeconds: 1
initialDelaySeconds: 5
@ -64,6 +67,9 @@ spec:
- name: keytab-volume
secret:
secretName: maubot-keytab
- name: fedora-messaging-config-volume
configMap:
name: fedora-messaging-configmap
triggers:
- type: ImageChange
imageChangeParams:

View file

@ -13,3 +13,13 @@ items:
data:
config.yml: |-
{{ load_file('config.yml') | indent(6) }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: fedora-messaging-configmap
labels:
app: maubot
data:
config.toml: |-
{{ load_file('config.toml') | indent }}