maubot: acutally define the persistant storage

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2023-08-16 15:19:10 +10:00
parent b414a3e238
commit 2e35cec0c1
3 changed files with 9 additions and 4 deletions

View file

@ -26,6 +26,11 @@
template: buildconfig.yml
objectname: buildconfig.yml
- role: openshift/object
app: mdapi
file: storage.yml
objectname: storage.yml
- role: openshift/start-build
app: maubot
buildname: maubot-build

View file

@ -35,7 +35,7 @@ spec:
- name: config
mountPath: /config
readOnly: true
- name: data
- name: maubot-storage
mountPath: /maubot
readinessProbe:
timeoutSeconds: 1
@ -53,6 +53,6 @@ spec:
- name: config
configMap:
name: config
- name: data
- name: maubot-storage
persistentVolumeClaim:
claimName: data
claimName: maubot-storage

View file

@ -1,7 +1,7 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data
name: maubot-storage
spec:
accessModes:
- ReadWriteMany